summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-20 14:29:49 -0600
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-21 22:13:56 -0700
commitc115616bda80390e6d4b11e7ce6184ef1cc00838 (patch)
tree8fdfd6b0ae6e690801062bcce743098818331b85
parentd17485fef9b084a6812c626d9734816429f29199 (diff)
mesa: init ctx->RenderMode
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 5887344fab..f79b129a45 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -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