diff options
author | Brian Paul <[email protected]> | 2005-09-13 01:19:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-13 01:19:29 +0000 |
commit | a96f889a57cd8f304dc60cd75f8660c440f36c0e (patch) | |
tree | 46b3c4082a11607d9591e1c8059ec048f798274f /src | |
parent | 5179f671e7f9366e278dbff519c283956ba0c2fe (diff) |
Move the ctx->FirstTimeCurrent initialization
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/context.c | 2 | ||||
-rw-r--r-- | src/mesa/main/debug.c | 7 |
2 files changed, 4 insertions, 5 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; } diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index edc32b1f94d..c21122080bb 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.5 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -195,9 +195,6 @@ _mesa_init_debug( GLcontext *ctx ) { char *c; - /* For debug/development only */ - ctx->FirstTimeCurrent = GL_TRUE; - /* Dither disable */ ctx->NoDither = _mesa_getenv("MESA_NO_DITHER") ? GL_TRUE : GL_FALSE; if (ctx->NoDither) { |