diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2005-02-11 09:34:05 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2005-02-11 09:34:05 +0000 |
commit | a0c85249244e1af8dac88076d5f384cf4bd01236 (patch) | |
tree | 29df8170864a29fc368e25afa4fb63e72df1aa31 /src/mesa/main/texcompress.c | |
parent | 2d10924a14c439376816c5398cecd46e940482fd (diff) |
mesa-main-0-NULL.patch from Jeff Muizelaar
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r-- | src/mesa/main/texcompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 396f14a566..d18b1d0b41 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -247,7 +247,7 @@ _mesa_compressed_image_address(GLint col, GLint row, GLint img, addr = (GLubyte *) image + 16 * (((width + 3) / 4) * (row / 4) + col / 4); break; default: - return 0; + return NULL; } return addr; |