mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
glx: Add the extension string for GLX_ARB_framebuffer_sRGB
From the GLX perspective, the ARB and EXT extensions are identical. Use a single bit for both. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Maciej Wieczorek <maciej.t.wieczorek@intel.com>
This commit is contained in:
parent
7b0f912e70
commit
386282b5c2
2 changed files with 6 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ static const struct extension_info known_glx_extensions[] = {
|
|||
{ GLX(ARB_create_context), VER(0,0), Y, N, N, N },
|
||||
{ GLX(ARB_create_context_profile), VER(0,0), Y, N, N, N },
|
||||
{ GLX(ARB_create_context_robustness), VER(0,0), Y, N, N, N },
|
||||
{ GLX(ARB_framebuffer_sRGB), VER(0,0), Y, Y, N, N },
|
||||
{ GLX(ARB_get_proc_address), VER(1,4), Y, N, Y, N },
|
||||
{ GLX(ARB_multisample), VER(1,4), Y, Y, N, N },
|
||||
{ GLX(ATI_pixel_format_float), VER(0,0), N, N, N, N },
|
||||
|
|
|
|||
|
|
@ -65,6 +65,11 @@ enum
|
|||
INTEL_swap_event_bit,
|
||||
};
|
||||
|
||||
/* From the GLX perspective, the ARB and EXT extensions are identical. Use a
|
||||
* single bit for both.
|
||||
*/
|
||||
#define ARB_framebuffer_sRGB_bit EXT_framebuffer_sRGB_bit
|
||||
|
||||
enum
|
||||
{
|
||||
GL_ARB_depth_texture_bit = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue