Merge pull request #304 from nwnk/arb-framebuffer-srgb

ARB_framebuffer_sRGB: Clarify interaction with GLX
diff --git a/extensions/ARB/ARB_framebuffer_sRGB.txt b/extensions/ARB/ARB_framebuffer_sRGB.txt
index 4dfe402..08b006f 100644
--- a/extensions/ARB/ARB_framebuffer_sRGB.txt
+++ b/extensions/ARB/ARB_framebuffer_sRGB.txt
@@ -21,6 +21,7 @@
     Yanjun Zhang, S3 Graphics
     Jeremy Sandmel, Apple
     Jon Leech
+    Adam Jackson, Red Hat
 
 Contact
 
@@ -47,8 +48,8 @@
 
 Version
 
-    Date: August 11, 2008
-    Revision: 1.2
+    Date: September 19, 2019
+    Revision: 1.3
 
 Number
 
@@ -111,8 +112,9 @@
 
 New Tokens
 
-    Accepted by the <attribList> parameter of glXChooseVisual, and by
-    the <attrib> parameter of glXGetConfig:
+    Accepted by the <attribList> parameter of glXChooseVisual and
+    glXChooseFBConfig, and by the <attrib> parameter of glXGetConfig
+    and glXGetFBConfigAttrib:
 
         GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB             0x20B2
 
@@ -244,7 +246,10 @@
 
 Additions to the GLX Specification
 
-    None
+    If GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB is specified for glXChooseVisual or
+    glXChooseFBConfig, it is treated as an exact match. If it is not specified,
+    it is treated as GLX_DONT_CARE. Sorting of visuals and fbconfigs by
+    GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB is undefined.
 
 Dependencies on ARB_color_buffer_float
 
@@ -601,6 +606,7 @@
 
         Rev.    Date    Author    Changes
         ----  --------  --------  -------------------------------------
+         1.3  09/19/19  ajax      Clarify GLX interaction.
          1.2  08/11/08  jleech    Use per-FBO-attachment state for
                                   sRGB-capable queries, rather then the
                                   EXT's single boolean query for the