apple: Rename GLXcontext
[mesa.git] / src / glx / apple / apple_xgl_api_viewport.c
index e39ab152235fdc8a631853991becad2fe91bb039..e29eba8253439bf527fd68e7184b4aaa5142635a 100644 (file)
@@ -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)