mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
mesa: fix inverted buffer object test
Fixes bug 24799.
This commit is contained in:
parent
71cd40bccf
commit
730a3de9f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue