summaryrefslogtreecommitdiffstats
path: root/src/glx/glxextensions.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-07-12 14:07:14 -0700
committerIan Romanick <[email protected]>2012-10-29 09:55:23 -0700
commit386282b5c2411e0c131ac787584e501e657e26ab (patch)
tree9cc249bc53293e1209e2e499033860132d0266cb /src/glx/glxextensions.h
parent7b0f912e70d79bcb863ea38f7d3910ab2be0860e (diff)
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Cc: Maciej Wieczorek <[email protected]>
Diffstat (limited to 'src/glx/glxextensions.h')
-rw-r--r--src/glx/glxextensions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index 90c27a7db41..3c5d407b807 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -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,