fix a couple bad casts
This commit is contained in:
parent
be9b759ab0
commit
7c544d3685
|
@ -1103,7 +1103,7 @@ _mesa_texstore_rgb888(STORE_PARAMS)
|
|||
srcWidth, srcHeight, srcDepth,
|
||||
srcFormat, srcType, srcAddr,
|
||||
srcPacking);
|
||||
const GLchan *src = (const GLubyte *) tempImage;
|
||||
const GLchan *src = (const GLchan *) tempImage;
|
||||
GLubyte *dstImage = (GLubyte *) dstAddr
|
||||
+ dstZoffset * dstImageStride
|
||||
+ dstYoffset * dstRowStride
|
||||
|
@ -1207,7 +1207,7 @@ _mesa_texstore_bgr888(STORE_PARAMS)
|
|||
srcWidth, srcHeight, srcDepth,
|
||||
srcFormat, srcType, srcAddr,
|
||||
srcPacking);
|
||||
const GLchan *src = (const GLubyte *) tempImage;
|
||||
const GLchan *src = (const GLchan *) tempImage;
|
||||
GLubyte *dstImage = (GLubyte *) dstAddr
|
||||
+ dstZoffset * dstImageStride
|
||||
+ dstYoffset * dstRowStride
|
||||
|
|
Loading…
Reference in New Issue