From a0c85249244e1af8dac88076d5f384cf4bd01236 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 11 Feb 2005 09:34:05 +0000 Subject: mesa-main-0-NULL.patch from Jeff Muizelaar --- src/mesa/main/texcompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/texcompress.c') diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 396f14a5663..d18b1d0b418 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; -- cgit v1.2.3