summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuanhan Liu <[email protected]>2011-10-16 09:35:33 +0800
committerYuanhan Liu <[email protected]>2011-10-19 09:28:51 +0800
commit403cf7c56fc6decb7636114dc1dadb7adf99a7a4 (patch)
tree120b2e6d173cbcce527b147c941527ff1aba6927
parent9024d8af0ae832a0b4278eb6683bc0e76c69baac (diff)
mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB
It seems like a typo. Signed-off-by: Yuanhan Liu <[email protected]> Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--src/mesa/main/texgetimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c
index f9118860bab..06e032396e4 100644
--- 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;
}