mesa: init ctx->RenderMode
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 20 Jun 2008 20:29:49 +0000 (14:29 -0600)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 22 Sep 2008 05:13:56 +0000 (22:13 -0700)
src/mesa/main/context.c

index 5887344fab3c750083e51579d0801ddf4ca151ce..f79b129a45a6e50ac46590f5dfd59810fcc66805 100644 (file)
@@ -1022,6 +1022,8 @@ init_attrib_groups(GLcontext *ctx)
    _mesa_init_fbobjects( ctx );
 #if FEATURE_feedback
    _mesa_init_feedback( ctx );
+#else
+   ctx->RenderMode = GL_RENDER;
 #endif
    _mesa_init_fog( ctx );
 #if FEATURE_histogram