diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-06-20 14:29:49 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-06-20 14:29:49 -0600 |
commit | 36aae1868345567975ce4fa449b547ae3e01dbc3 (patch) | |
tree | df8c46c9c9e24f5fe073d4ce92af84b75b4464aa | |
parent | 677151ad71d7f0792fb79597e972e2cad2cfc7d4 (diff) |
mesa: init ctx->RenderMode
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index e5264bcaf9..be93d844e0 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 |