summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-02-11 09:34:05 +0000
committerKeith Whitwell <[email protected]>2005-02-11 09:34:05 +0000
commita0c85249244e1af8dac88076d5f384cf4bd01236 (patch)
tree29df8170864a29fc368e25afa4fb63e72df1aa31 /src/mesa/main/texobj.c
parent2d10924a14c439376816c5398cecd46e940482fd (diff)
mesa-main-0-NULL.patch from Jeff Muizelaar
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 1691ae13879..e6e39d4b434 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -700,7 +700,7 @@ _mesa_BindTexture( GLenum target, GLuint texName )
GLuint unit = ctx->Texture.CurrentUnit;
struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
struct gl_texture_object *oldTexObj;
- struct gl_texture_object *newTexObj = 0;
+ struct gl_texture_object *newTexObj = NULL;
ASSERT_OUTSIDE_BEGIN_END(ctx);
if (MESA_VERBOSE & (VERBOSE_API|VERBOSE_TEXTURE))