Only install vtxfmt tables for OpenGL
[mesa.git] / src / mesa / main / fog.c
index 269ff3f8b993bf5a33e11df4aec7bae83ac3f978..fd64bd1fd890266a979a480043dba43999b93fc0 100644 (file)
@@ -27,6 +27,7 @@
 #include "colormac.h"
 #include "context.h"
 #include "fog.h"
+#include "macros.h"
 #include "mtypes.h"
 
 
@@ -177,7 +178,7 @@ _mesa_Fogfv( GLenum pname, const GLfloat *params )
 /*****                      Initialization                        *****/
 /**********************************************************************/
 
-void _mesa_init_fog( GLcontext * ctx )
+void _mesa_init_fog( struct gl_context * ctx )
 {
    /* Fog group */
    ctx->Fog.Enabled = GL_FALSE;