summaryrefslogtreecommitdiff
path: root/test/error-setters.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-04-18 00:11:16 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2023-01-27 19:21:46 +0000
commitb5793081d095a13517e157d793b367e4527fd39d (patch)
treecb22d4992c0462e2520d6e22a946072809c2e5ad /test/error-setters.c
parent407bb0a478890c2640c326fab0642d8595407ba1 (diff)
downloadcairo-b5793081d095a13517e157d793b367e4527fd39d.tar.gz
Drop cairo-gl
The GL support in Cairo has always been a prototype, and nothing happened in the past 10+ years to make it work as it was meant to. GL support is not enabled by any downstream packagers of Cairo, so nobody should notice its absence.
Diffstat (limited to 'test/error-setters.c')
-rw-r--r--test/error-setters.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/error-setters.c b/test/error-setters.c
index c69a6d89b..ecbb78fde 100644
--- a/test/error-setters.c
+++ b/test/error-setters.c
@@ -29,9 +29,6 @@
#include "cairo-test.h"
-#if CAIRO_HAS_GL_SURFACE
-#include <cairo-gl.h>
-#endif
#if CAIRO_HAS_PDF_SURFACE
#include <cairo-pdf.h>
#endif
@@ -53,11 +50,6 @@ preamble (cairo_test_context_t *ctx)
/* get the error surface */
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, INT_MAX, INT_MAX);
-#if CAIRO_HAS_GL_SURFACE
- cairo_gl_surface_set_size (surface, 0, 0);
- cairo_gl_surface_swapbuffers (surface);
-#endif
-
#if CAIRO_HAS_PDF_SURFACE
cairo_pdf_surface_restrict_to_version (surface, CAIRO_PDF_VERSION_1_4);
cairo_pdf_surface_set_size (surface, 0, 0);