projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71cd40b
)
mesa: fix inverted buffer object test
author
Brian Paul
<brianp@vmware.com>
Fri, 30 Oct 2009 14:30:59 +0000
(08:30 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 30 Oct 2009 14:31:01 +0000
(08:31 -0600)
Fixes bug 24799.
src/mesa/main/texgetimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texgetimage.c
b/src/mesa/main/texgetimage.c
index 10c6947c374a29c238a9563af3fcd0bb8c6d4818..e4a9ac14b1c36a3875a409f72a5078d67be1705e 100644
(file)
--- a/
src/mesa/main/texgetimage.c
+++ b/
src/mesa/main/texgetimage.c
@@
-713,7
+713,7
@@
_mesa_GetTexImage( GLenum target, GLint level, GLenum format,
return;
}
- if (_mesa_is_bufferobj(ctx->Pack.BufferObj) && !pixels) {
+ if (
!
_mesa_is_bufferobj(ctx->Pack.BufferObj) && !pixels) {
/* not an error, do nothing */
return;
}