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

@@ -474,7 +474,7 @@ _mesa_BindBufferARB(GLenum target, GLuint buffer)
{
GET_CURRENT_CONTEXT(ctx);
struct gl_buffer_object *oldBufObj;
struct gl_buffer_object *newBufObj = 0;
struct gl_buffer_object *newBufObj = NULL;
ASSERT_OUTSIDE_BEGIN_END(ctx);
oldBufObj = buffer_object_get_target( ctx, target, "BindBufferARB" );