summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.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/bufferobj.c
parent2d10924a14c439376816c5398cecd46e940482fd (diff)
mesa-main-0-NULL.patch from Jeff Muizelaar
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r--src/mesa/main/bufferobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 9d2fc95be31..3ca08859a74 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -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" );