diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 51e137dce9b..edb86438e39 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -2080,7 +2080,7 @@ _mesa_base_fbo_format(const struct gl_context *ctx, GLenum internalFormat) return _mesa_has_EXT_texture_snorm(ctx) || _mesa_has_EXT_render_snorm(ctx) ? GL_RG : 0; case GL_RG_SNORM: - _mesa_has_EXT_texture_snorm(ctx) ? GL_RG : 0; + return _mesa_has_EXT_texture_snorm(ctx) ? GL_RG : 0; case GL_RG16_SNORM: return _mesa_has_EXT_texture_snorm(ctx) || (_mesa_has_EXT_render_snorm(ctx) && |