diff options
author | Brian Paul <[email protected]> | 2003-03-04 19:16:23 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-03-04 19:16:23 +0000 |
commit | 612cf792dbcb8b69819751c62f8df5fe47aae9b4 (patch) | |
tree | df96062a76d22c6f4f7e6177676d756655900d2c /src | |
parent | f9b1e5241facc8cf255c258082d5cb5b04783e93 (diff) |
silence a GLchan=GLfloat warning with a cast
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texstore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index b20e6933805..117696896eb 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -1,4 +1,4 @@ -/* $Id: texstore.c,v 1.53 2003/02/25 19:25:52 brianp Exp $ */ +/* $Id: texstore.c,v 1.54 2003/03/04 19:16:23 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -2104,7 +2104,7 @@ _mesa_generate_mipmap(GLcontext *ctx, GLenum target, _mesa_compress_teximage(ctx, dstWidth, dstHeight, /* size */ srcFormat, /* source format */ - dstData, /* source buffer */ + (const GLchan *) dstData, /* source buffer */ dstWidth, /* source row stride */ dstImage->TexFormat, /* dest format */ (GLubyte*) dstImage->Data, /* dest buffer */ |