summaryrefslogtreecommitdiff
path: root/src/glx/packsingle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/packsingle.h')
-rw-r--r--src/glx/packsingle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/packsingle.h b/src/glx/packsingle.h
index f33a873f3a..037265a767 100644
--- a/src/glx/packsingle.h
+++ b/src/glx/packsingle.h
@@ -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; \