diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-02-18 14:44:00 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-02-18 14:44:00 +0000 |
commit | 49f7430b12eec93287af96058026ede1649ba007 (patch) | |
tree | 73dce6d6956bc388f0e86052be7a52c238e0f042 | |
parent | d73b929ef25cccb12258545ddc9e06ef5ee061f0 (diff) |
s/0/NULL/ (Jeff Muizelaar)
-rw-r--r-- | src/mesa/array_cache/ac_import.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c index 0c66084f91..416b2e793c 100644 --- a/src/mesa/array_cache/ac_import.c +++ b/src/mesa/array_cache/ac_import.c @@ -511,7 +511,7 @@ _ac_import_texcoord( GLcontext *ctx, /* Is the request impossible? */ if (reqsize != 0 && ac->Raw.TexCoord[unit].Size > (GLint) reqsize) - return 0; + return NULL; /* Do we need to pull in a copy of the client data: */ @@ -548,7 +548,7 @@ _ac_import_vertex( GLcontext *ctx, /* Is the request impossible? */ if (reqsize != 0 && ac->Raw.Vertex.Size > (GLint) reqsize) - return 0; + return NULL; /* Do we need to pull in a copy of the client data: */ @@ -616,7 +616,7 @@ _ac_import_color( GLcontext *ctx, /* Is the request impossible? */ if (reqsize != 0 && ac->Raw.Color.Size > (GLint) reqsize) { - return 0; + return NULL; } /* Do we need to pull in a copy of the client data: @@ -687,7 +687,7 @@ _ac_import_secondarycolor( GLcontext *ctx, /* Is the request impossible? */ if (reqsize != 0 && ac->Raw.SecondaryColor.Size > (GLint) reqsize) - return 0; + return NULL; /* Do we need to pull in a copy of the client data: */ @@ -866,10 +866,10 @@ _ac_import_elements( GLcontext *ctx, switch (new_type) { case GL_UNSIGNED_BYTE: ASSERT(0); - return 0; + return NULL; case GL_UNSIGNED_SHORT: ASSERT(0); - return 0; + return NULL; case GL_UNSIGNED_INT: { GLuint *out = (GLuint *)ac->Elts; GLuint i; @@ -898,5 +898,5 @@ _ac_import_elements( GLcontext *ctx, break; } - return 0; + return NULL; } |