From 9fc7fa0a4cbe9dc8faa124744f623491fa754bd7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 28 Oct 2010 21:17:42 -0600 Subject: mesa: fix incorrect type in _mesa_texstore_rgba_int16() --- src/mesa/main/texstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3