mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB
It seems like a typo. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
9024d8af0a
commit
403cf7c56f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue