aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11_cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/x11_cairo.c')
-rw-r--r--pugl/detail/x11_cairo.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/pugl/detail/x11_cairo.c b/pugl/detail/x11_cairo.c
index 0753317..1c7df6e 100644
--- a/pugl/detail/x11_cairo.c
+++ b/pugl/detail/x11_cairo.c
@@ -39,19 +39,6 @@ typedef struct {
} PuglX11CairoSurface;
static PuglStatus
-puglX11CairoConfigure(PuglView* view)
-{
- PuglInternals* const impl = view->impl;
-
- XVisualInfo pat;
- int n;
- pat.screen = impl->screen;
- impl->vi = XGetVisualInfo(impl->display, VisualScreenMask, &pat, &n);
-
- return PUGL_SUCCESS;
-}
-
-static PuglStatus
puglX11CairoCreate(PuglView* view)
{
PuglInternals* const impl = view->impl;
@@ -163,7 +150,7 @@ const PuglBackend*
puglCairoBackend(void)
{
static const PuglBackend backend = {
- puglX11CairoConfigure,
+ puglX11StubConfigure,
puglX11CairoCreate,
puglX11CairoDestroy,
puglX11CairoEnter,