]> git.tdb.fi Git - libs/gl.git/blobdiff - gl.fixes.xml
Use correct function name in exception
[libs/gl.git] / gl.fixes.xml
index f3e2e60e34ab0bef32caf4858a20f95589aad82b..a2271d302f44a69c332c84e5ca98e15eb90d573f 100644 (file)
@@ -77,6 +77,9 @@
             <!-- Ignore this, as it comes from ARB_vertex_program and I'm not
             sure if it works with ARB_shader_objects. -->
             <command name="glIsProgramARB" />
+
+            <!-- This was never promoted from ARB_geometry_shader4. -->
+            <command name="glFramebufferTextureFaceARB" />
         </remove>
     </feature>
 
             </require>
         </extension>
 
+        <!-- And the remaining color components here. -->
+        <extension name="GL_ARB_texture_swizzle" supported="gl|glcore">
+            <require>
+                <enum name="GL_GREEN" />
+                <enum name="GL_BLUE" />
+                <enum name="GL_ALPHA" />
+            </require>
+        </extension>
+
         <extension name="GL_MSP_legacy_features" supported="gl">
             <require>
                 <command name="glEnableClientState" />
                 <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">
         <extension name="GL_MSP_texture1D" supported="gl">
             <require>
                 <command name="glTexImage1D" />
+                <command name="glTexSubImage1D" />
                 <enum name="GL_TEXTURE_1D" />
             </require>
         </extension>
+
+        <!-- The core version of primitive restart has different semantics
+        from the NV extension but is not available as a backport extension. -->
+        <extension name="GL_MSP_primitive_restart" supported="gl">
+            <require>
+                <enum name="GL_PRIMITIVE_RESTART" />
+                <enum name="GL_PRIMITIVE_RESTART_INDEX" />
+                <command name="glPrimitiveRestartIndex" />
+            </require>
+        </extension>
     </extensions>
 </registry>