OSDN Git Service

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 e5264bc..be93d84 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