mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
indentation fix
This commit is contained in:
parent
df926955be
commit
114ecb9d67
1 changed files with 5 additions and 5 deletions
|
|
@ -1996,11 +1996,11 @@ copytexsubimage_error_check( GLcontext *ctx, GLuint dimensions,
|
|||
}
|
||||
|
||||
if (teximage->IsCompressed) {
|
||||
if (!_mesa_source_buffer_exists(ctx, teximage->_BaseFormat)) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"glCopyTexSubImage%dD(missing readbuffer)", dimensions);
|
||||
return GL_TRUE;
|
||||
}
|
||||
if (!_mesa_source_buffer_exists(ctx, teximage->_BaseFormat)) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"glCopyTexSubImage%dD(missing readbuffer)", dimensions);
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
if (target != GL_TEXTURE_2D) {
|
||||
_mesa_error(ctx, GL_INVALID_ENUM,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue