make srcPtr param to make_1d_stack_mipmap() const
authorBrian <brian@yutani.localnet.net>
Thu, 17 May 2007 14:56:46 +0000 (08:56 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 17 May 2007 14:56:46 +0000 (08:56 -0600)
src/mesa/main/mipmap.c

index 1dc51440c8eb0fef4e8ae0d659a6229df7054d7d..9f3db22b75cdc685eb1a22e7c181d82032082ced 100644 (file)
@@ -798,7 +798,7 @@ make_3d_mipmap(const struct gl_texture_format *format, GLint border,
 
 static void
 make_1d_stack_mipmap(const struct gl_texture_format *format, GLint border,
-                     GLint srcWidth, GLubyte *srcPtr,
+                     GLint srcWidth, const GLubyte *srcPtr,
                      GLint dstWidth, GLint dstHeight, GLubyte *dstPtr)
 {
    const GLint bpt = format->TexelBytes;