mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
mesa: add missing return statement for GL_RG_SNORM case
Fixes: 0d356cf478 "mesa: enable EXT_render_snorm extension"
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
e67dadd3a9
commit
2b98a023d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue