glx: Remove unused assignment
authorBenjamin Otte <otte@redhat.com>
Fri, 22 Oct 2021 18:47:26 +0000 (20:47 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 22 Oct 2021 21:50:45 +0000 (23:50 +0200)
gdk/x11/gdkglcontext-glx.c

index aa121f4372c4b2bba79ebff0fd81c45e5b5c101a..334acf8ff924efd868e924138e40db504614e5bc 100644 (file)
@@ -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