From a96f889a57cd8f304dc60cd75f8660c440f36c0e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Sep 2005 01:19:29 +0000 Subject: Move the ctx->FirstTimeCurrent initialization --- src/mesa/main/context.c | 2 ++ 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 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) { -- cgit v1.2.3