From 49f7430b12eec93287af96058026ede1649ba007 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 18 Feb 2005 14:44:00 +0000 Subject: [PATCH] s/0/NULL/ (Jeff Muizelaar) --- src/mesa/array_cache/ac_import.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c index 0c66084f919..416b2e793c9 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; } -- 2.30.2