mesa: init ctx->RenderMode
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 20:29:49 +0000 (14:29 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 20:29:49 +0000 (14:29 -0600)
src/mesa/main/context.c

index e5264bcaf9d2a9b793cf8517d86ae2b9f845c95f..be93d844e0d6ccbadc2eec5b6c5f7c4cd3003d81 100644 (file)
@@ -996,6 +996,8 @@ init_attrib_groups(GLcontext *ctx)
 #endif
 #if FEATURE_feedback
    _mesa_init_feedback( ctx );
+#else
+   ctx->RenderMode = GL_RENDER;
 #endif
    _mesa_init_fog( ctx );
 #if FEATURE_histogram