mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-06 21:28:15 +02:00
mesa: move error check code in compressedteximage()
This was mistakenly inside the #if FEATURE_ES block.
This commit is contained in:
parent
77db34b50d
commit
af0e2ef8cc
1 changed files with 2 additions and 2 deletions
|
|
@ -3281,13 +3281,13 @@ compressedteximage(struct gl_context *ctx, GLuint dims,
|
|||
internalFormat, width, height, depth,
|
||||
border, imageSize);
|
||||
|
||||
#if FEATURE_ES
|
||||
/* XXX this is kind of a hack */
|
||||
if (error) {
|
||||
_mesa_error(ctx, error, "glTexImage2D");
|
||||
return;
|
||||
}
|
||||
|
||||
#if FEATURE_ES
|
||||
/* XXX this is kind of a hack */
|
||||
if (dims == 2) {
|
||||
switch (internalFormat) {
|
||||
case GL_PALETTE4_RGB8_OES:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue