]> git.tdb.fi Git - libs/gl.git/blobdiff - gl.fixes.xml
Access clipping through the extension mechanism
[libs/gl.git] / gl.fixes.xml
index d805cfbc4539405ce48b5851e95f52058383a2ae..8edc3731bea7baeb3c4ee77af3859cc3a715136b 100644 (file)
                 <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">