summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c2
-rw-r--r--src/mesa/main/debug.c7
2 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index a09a4dc317..7a8833a1b5 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 edc32b1f94..c21122080b 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) {