mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
mesa: fix broken indentation
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
084fec0e77
commit
68cd0e2000
1 changed files with 6 additions and 7 deletions
|
|
@ -1405,16 +1405,15 @@ get_tex_level_parameter_image(struct gl_context *ctx,
|
|||
|
||||
/* GL_ARB_texture_compression */
|
||||
case GL_TEXTURE_COMPRESSED_IMAGE_SIZE:
|
||||
if (_mesa_is_format_compressed(texFormat) &&
|
||||
if (_mesa_is_format_compressed(texFormat) &&
|
||||
!_mesa_is_proxy_texture(target)) {
|
||||
*params = _mesa_format_image_size(texFormat, img->Width,
|
||||
img->Height, img->Depth);
|
||||
}
|
||||
else {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"glGetTex%sLevelParameter[if]v(pname=%s)", suffix,
|
||||
_mesa_enum_to_string(pname));
|
||||
}
|
||||
} else {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"glGetTex%sLevelParameter[if]v(pname=%s)", suffix,
|
||||
_mesa_enum_to_string(pname));
|
||||
}
|
||||
break;
|
||||
case GL_TEXTURE_COMPRESSED:
|
||||
*params = (GLint) _mesa_is_format_compressed(texFormat);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue