Mesa (master): dri: add a placeholder for the framebuffer sRGB capable bit.
Dave Airlie
airlied at kemper.freedesktop.org
Fri Jan 28 01:45:56 UTC 2011
Module: Mesa
Branch: master
Commit: 476db2bd3d72440f54ff57c23da05dc1d624fee9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=476db2bd3d72440f54ff57c23da05dc1d624fee9
Author: Dave Airlie <airlied at gmail.com>
Date: Fri Jan 28 11:44:51 2011 +1000
dri: add a placeholder for the framebuffer sRGB capable bit.
This is needed to build the X server GLX_EXT_framebuffer_sRGB bits.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
include/GL/internal/dri_interface.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 39aa68b..42d6968 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -499,6 +499,7 @@ struct __DRIuseInvalidateExtensionRec {
#define __DRI_ATTRIB_BIND_TO_MIPMAP_TEXTURE 45
#define __DRI_ATTRIB_BIND_TO_TEXTURE_TARGETS 46
#define __DRI_ATTRIB_YINVERTED 47
+#define __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE 48
/* __DRI_ATTRIB_RENDER_TYPE */
#define __DRI_ATTRIB_RGBA_BIT 0x01
More information about the mesa-commit
mailing list