summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-02-18 14:44:00 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-02-18 14:44:00 +0000
commit49f7430b12eec93287af96058026ede1649ba007 (patch)
tree73dce6d6956bc388f0e86052be7a52c238e0f042 /src
parentd73b929ef25cccb12258545ddc9e06ef5ee061f0 (diff)
s/0/NULL/ (Jeff Muizelaar)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/array_cache/ac_import.c14
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;
}