summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-05-17 08:56:46 -0600
committerBrian <[email protected]>2007-05-17 08:56:46 -0600
commitb5bbe055e4eab8ba83ca3f1ce17aaee01a506c95 (patch)
tree442909145d70772b6732d46757771716d048599e /src/mesa
parent6ee6b2dcd96fafae8d924d617e54e32a2aa8c5ea (diff)
make srcPtr param to make_1d_stack_mipmap() const
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mipmap.c2
1 files changed, 1 insertions, 1 deletions
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;