projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b44f9c7
)
mesa: fix incorrect type in _mesa_texstore_rgba_int16()
author
Brian Paul
<brianp@vmware.com>
Fri, 29 Oct 2010 03:17:42 +0000
(21:17 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 29 Oct 2010 03:17:42 +0000
(21:17 -0600)
src/mesa/main/texstore.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstore.c
b/src/mesa/main/texstore.c
index fb34a005b3b9636902e07a17c78f53bf7e0bb37e..ddbabe4b631d4b259ff7ee5cdf7d624446a3bc67 100644
(file)
--- 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_
IN
T) {
+ srcType == GL_
SHOR
T) {
/* simple memcpy path */
memcpy_texture(ctx, dims,
dstFormat, dstAddr, dstXoffset, dstYoffset, dstZoffset,