diff options
author | Timothy Arceri <[email protected]> | 2017-05-04 16:36:40 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-07 15:29:34 +1000 |
commit | 68cd0e200092b064c5964a02c137f5b98c96e5f0 (patch) | |
tree | 2a6d10711932c8daa7f9444c0b030fd1740a8dc8 /src | |
parent | 084fec0e779ca2b0b6a182df70144256b9d63baf (diff) |
mesa: fix broken indentation
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texparam.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c index 25165e4eded..0156bbd2750 100644 --- a/src/mesa/main/texparam.c +++ b/src/mesa/main/texparam.c @@ -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); |