mesa: fix incorrect type in _mesa_texstore_rgba_int16()

This commit is contained in:
Brian Paul 2010-10-28 21:17:42 -06:00
parent b44f9c7e0a
commit 9fc7fa0a4c

View file

@ -3350,7 +3350,7 @@ _mesa_texstore_rgba_int16(TEXSTORE_PARAMS)
if (!ctx->_ImageTransferState &&
!srcPacking->SwapBytes &&
baseInternalFormat == srcFormat &&
srcType == GL_INT) {
srcType == GL_SHORT) {
/* simple memcpy path */
memcpy_texture(ctx, dims,
dstFormat, dstAddr, dstXoffset, dstYoffset, dstZoffset,