summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/glx_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/glx_error.c')
-rw-r--r--src/glx/apple/glx_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/apple/glx_error.c b/src/glx/apple/glx_error.c
index 282f7ae40b1..b3a071c307b 100644
--- a/src/glx/apple/glx_error.c
+++ b/src/glx/apple/glx_error.c
@@ -40,7 +40,7 @@ __glXSendError(Display * dpy, int errorCode, unsigned long resourceID,
unsigned long minorCode, bool coreX11error)
{
XExtDisplayInfo *info = __glXFindDisplay(dpy);
- GLXContext gc = __glXGetCurrentContext();
+ struct glx_context *gc = __glXGetCurrentContext();
xError error;
LockDisplay(dpy);