diff options
author | Brian Paul <[email protected]> | 2014-01-08 09:05:29 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-01-09 11:35:52 -0700 |
commit | 513a324b885689702f32d9ffa1432c4212d899ad (patch) | |
tree | 824e0047c503ec24cd2af45daab45c2dd0338b0d /src/glx/indirect_glx.c | |
parent | 689ec8dfb21ae0ea94fc7e0bb9554a8a7aac3003 (diff) |
mesa: add missing SNORM formats in _mesa_base_fbo_format()
We weren't handling the LUMINANCE_SNORM, LUMINANCE_ALPHA_SNORM and
INTENSITY_SNORM cases. Note that adding these cases here does not
require a driver to support rendering to these surface types. If
the driver can't do it we'll report an incomplete framebuffer.
NVIDIA doesn't support GL_EXT_texture_snorm but their driver
accepts these formats in glRenderBufferStorage().
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glx/indirect_glx.c')
0 files changed, 0 insertions, 0 deletions