From 373ca2389a9068a56a82e919188613900deb7c61 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 22 Oct 2021 20:47:26 +0200 Subject: [PATCH] glx: Remove unused assignment --- gdk/x11/gdkglcontext-glx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdk/x11/gdkglcontext-glx.c b/gdk/x11/gdkglcontext-glx.c index aa121f4372..334acf8ff9 100644 --- a/gdk/x11/gdkglcontext-glx.c +++ b/gdk/x11/gdkglcontext-glx.c @@ -220,8 +220,6 @@ gdk_x11_gl_context_glx_make_current (GdkGLContext *context, GdkSurface *surface; GLXWindow drawable; - drawable = gdk_x11_gl_context_glx_get_drawable (self); - if (!surfaceless) surface = gdk_gl_context_get_surface (context); else