From: Brian Paul Date: Fri, 29 Oct 2010 03:17:42 +0000 (-0600) Subject: mesa: fix incorrect type in _mesa_texstore_rgba_int16() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fc7fa0a4cbe9dc8faa124744f623491fa754bd7;p=mesa.git mesa: fix incorrect type in _mesa_texstore_rgba_int16() --- diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index fb34a005b3b..ddbabe4b631 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -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,