[gtk/wip/otte/for-master: 2/4] glx: Remove unused assignment




commit 373ca2389a9068a56a82e919188613900deb7c61
Author: Benjamin Otte <otte redhat com>
Date:   Fri Oct 22 20:47:26 2021 +0200

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]