mesa-main-0-NULL.patch from Jeff Muizelaar

This commit is contained in:
Keith Whitwell
2005-02-11 09:34:05 +00:00
parent 2d10924a14
commit a0c8524924
8 changed files with 35 additions and 34 deletions

View File

@@ -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))