summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-13 01:19:29 +0000
committerBrian Paul <[email protected]>2005-09-13 01:19:29 +0000
commita96f889a57cd8f304dc60cd75f8660c440f36c0e (patch)
tree46b3c4082a11607d9591e1c8059ec048f798274f /src/mesa/main/context.c
parent5179f671e7f9366e278dbff519c283956ba0c2fe (diff)
Move the ctx->FirstTimeCurrent initialization
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 a09a4dc3177..7a8833a1b5c 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1223,6 +1223,8 @@ _mesa_initialize_context( GLcontext *ctx,
ctx->_MaintainTexEnvProgram = (_mesa_getenv("MESA_TEX_PROG") != NULL);
ctx->_MaintainTnlProgram = (_mesa_getenv("MESA_TNL_PROG") != NULL);
+ ctx->FirstTimeCurrent = GL_TRUE;
+
return GL_TRUE;
}