summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2021-10-22 20:47:26 +0200
committerBenjamin Otte <otte@redhat.com>2021-10-22 23:50:45 +0200
commit373ca2389a9068a56a82e919188613900deb7c61 (patch)
treea9b361ad64b0e15f26843f8229eec86b7b2e77e9
parentb2f9a907cef414a1bc0d1c64f910b3cf4736dd07 (diff)
downloadgtk+-373ca2389a9068a56a82e919188613900deb7c61.tar.gz
glx: Remove unused assignment
-rw-r--r--gdk/x11/gdkglcontext-glx.c2
1 files changed, 0 insertions, 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