On 10/15/2011 08:06 PM, Liu Aleaxander wrote:
From d91661686e8d7def96561700092adda57215f0ab Mon Sep 17 00:00:00 2001
From: Yuanhan Liu<yuanhan....@linux.intel.com>
Date: Sun, 16 Oct 2011 09:35:33 +0800
Subject: [PATCH] mesa: fix inverted pbo test error at
_mesa_GetnCompressedTexImageARB
It seems like a typo.
Signed-off-by: Yuanhan Liu<yuanhan....@linux.intel.com>
---
src/mesa/main/texgetimage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c
index f911886..06e0323 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;
}
Reviewed-by: Brian Paul <bri...@vmware.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev