mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 05:28:05 +02:00
silence a GLchan=GLfloat warning with a cast
This commit is contained in:
parent
f9b1e5241f
commit
612cf792db
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue