From: Brian Date: Thu, 17 May 2007 14:56:46 +0000 (-0600) Subject: make srcPtr param to make_1d_stack_mipmap() const X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5bbe055e4eab8ba83ca3f1ce17aaee01a506c95;p=mesa.git make srcPtr param to make_1d_stack_mipmap() const --- diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index 1dc51440c8e..9f3db22b75c 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@ -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;