summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-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 5887344fab3..f79b129a45a 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