dri3_open: don't leak the reply
[mesa.git] / src / glx / packsingle.h
index f33a873f3a7ea85680a9a68a445df998369226a3..037265a7671f856c8166f6fbbe8e2597fe898946 100644 (file)
@@ -49,7 +49,7 @@
 
 /* Declare common variables used during a single command */
 #define __GLX_SINGLE_DECLARE_VARIABLES()         \
-   __GLXcontext *gc = __glXGetCurrentContext();  \
+   struct glx_context *gc = __glXGetCurrentContext();  \
    GLubyte *pc, *pixelHeaderPC;                  \
    GLuint compsize, cmdlen;                      \
    Display *dpy = gc->currentDpy;                \