Drop GLcontext typedef and use struct gl_context instead
[mesa.git] / src / mesa / drivers / dri / swrast / swrast_priv.h
index 054bdba27b66ea379afd40a28b65a20335887141..bdb52ef26f10a093725b98e0015a1e141f888bf3 100644 (file)
@@ -58,7 +58,7 @@
 struct dri_context
 {
     /* mesa, base class, must be first */
-    GLcontext Base;
+    struct gl_context Base;
 
     /* dri */
     __DRIcontext *cPriv;
@@ -71,7 +71,7 @@ dri_context(__DRIcontext * driContextPriv)
 }
 
 static INLINE struct dri_context *
-swrast_context(GLcontext *ctx)
+swrast_context(struct gl_context *ctx)
 {
     return (struct dri_context *) ctx;
 }