summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-20 14:29:49 -0600
committerBrian Paul <[email protected]>2008-06-20 14:29:49 -0600
commit36aae1868345567975ce4fa449b547ae3e01dbc3 (patch)
treedf8c46c9c9e24f5fe073d4ce92af84b75b4464aa /src/mesa/main/context.c
parent677151ad71d7f0792fb79597e972e2cad2cfc7d4 (diff)
mesa: init ctx->RenderMode
Diffstat (limited to 'src/mesa/main/context.c')
-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 e5264bcaf9d..be93d844e0d 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -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