aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_xgl_api_viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_xgl_api_viewport.c')
-rw-r--r--src/glx/apple/apple_xgl_api_viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/apple/apple_xgl_api_viewport.c b/src/glx/apple/apple_xgl_api_viewport.c
index e39ab152235..e29eba82534 100644
--- a/src/glx/apple/apple_xgl_api_viewport.c
+++ b/src/glx/apple/apple_xgl_api_viewport.c
@@ -36,7 +36,7 @@ extern struct apple_xgl_api __gl_api;
void
glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
{
- GLXContext gc = __glXGetCurrentContext();
+ struct glx_context *gc = __glXGetCurrentContext();
Display *dpy = glXGetCurrentDisplay();
if (gc && gc->driContext)