Browse Source

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>
tags/gles3-fmt-v1
Ian Romanick 13 years ago
parent
commit
386282b5c2
2 changed files with 6 additions and 0 deletions
  1. 1
    0
      src/glx/glxextensions.c
  2. 5
    0
      src/glx/glxextensions.h

+ 1
- 0
src/glx/glxextensions.c View File

@@ -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 },

+ 5
- 0
src/glx/glxextensions.h View File

@@ -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…
Cancel
Save