make srcPtr param to make_1d_stack_mipmap() const

This commit is contained in:
Brian 2007-05-17 08:56:46 -06:00
parent 6ee6b2dcd9
commit b5bbe055e4

View 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;