]> git.tdb.fi Git - libs/gl.git/blobdiff - gl.fixes.xml
Add check for more modern AMD video cards
[libs/gl.git] / gl.fixes.xml
index c6459cf3fc2535b0cfec21c908dafd6f1feffece..8edc3731bea7baeb3c4ee77af3859cc3a715136b 100644 (file)
@@ -81,7 +81,7 @@
     </feature>
 
     <extensions>
-        <!-- Some functions mentioned in GL_ARB_uniform_buffer_object
+        <!-- Some functions mentioned in ARB_uniform_buffer_object
         specification are missing from gl.xml. -->
         <extension name="GL_ARB_uniform_buffer_object" supported="gl|glcore">
             <require>
                 <command name="glMaterialf" />
                 <command name="glMaterialfv" />
 
+                <enum name="GL_FOG" />
+                <enum name="GL_FOG_MODE" />
+                <enum name="GL_FOG_DENSITY" />
+                <enum name="GL_FOG_COLOR" />
+                <enum name="GL_EXP" />
+                <command name="glFogi" />
+                <command name="glFogf" />
+                <command name="glFogfv" />
+
                 <enum name="GL_MODELVIEW" />
                 <enum name="GL_PROJECTION" />
                 <command name="glMatrixMode" />
                 <command name="glNormalPointer" />
                 <command name="glColorPointer" />
                 <command name="glTexCoordPointer" />
+
+                <command name="glClipPlane" />
             </require>
         </extension>
 
             </require>
         </extension>
 
+        <!-- OpenGL ES does not have harwdare clipping. -->
+        <extension name="GL_MSP_clipping" supported="gl">
+            <require>
+                <enum name="GL_MAX_CLIP_PLANES" />
+                <enum name="GL_CLIP_PLANE0" />
+                <enum name="GL_CLIP_PLANE1" />
+                <enum name="GL_CLIP_PLANE2" />
+                <enum name="GL_CLIP_PLANE3" />
+                <enum name="GL_CLIP_PLANE4" />
+                <enum name="GL_CLIP_PLANE5" />
+            </require>
+        </extension>
+
         <!-- Stereo rendering is not supported on OpenGL ES, but I'm not
         certain enough of its uselessness to remove the constants outright. -->
         <extension name="GL_MSP_stereo_rendering" supported="gl">