projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9024d8a
)
mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB
author
Yuanhan Liu
<yuanhan.liu@linux.intel.com>
Sun, 16 Oct 2011 01:35:33 +0000
(09:35 +0800)
committer
Yuanhan Liu
<yuanhan.liu@linux.intel.com>
Wed, 19 Oct 2011 01:28:51 +0000
(09:28 +0800)
It seems like a typo.
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texgetimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texgetimage.c
b/src/mesa/main/texgetimage.c
index f9118860babe6c095752ced7858cf7c2de0d6b98..06e032396e4e5e49fd0e560bc41358a0c3137b28 100644
(file)
--- a/
src/mesa/main/texgetimage.c
+++ b/
src/mesa/main/texgetimage.c
@@
-884,7
+884,7
@@
_mesa_GetnCompressedTexImageARB(GLenum target, GLint level, GLsizei bufSize,
return;
}
- if (_mesa_is_bufferobj(ctx->Pack.BufferObj) && !img) {
+ if (
!
_mesa_is_bufferobj(ctx->Pack.BufferObj) && !img) {
/* not an error, do nothing */
return;
}