]> git.tdb.fi Git - libs/gl.git/blobdiff - gl.fixes.xml
Update gl.xml to latest version
[libs/gl.git] / gl.fixes.xml
index 39ec23e7c621d1840d777415fb5a69842dda69c7..5f97fa3c54df46f679326a7e446bc1621741ef99 100644 (file)
@@ -17,7 +17,7 @@
         </command>
 
         <!-- ARB_shader_objects function names got changed when promoted to
-        core -->
+        core. -->
         <command>
             <proto><name>glDeleteObjectARB</name></proto>
             <alias name="glDeleteShader" />
             <alias name="glGetShaderiv" />
             <alias name="glGetProgramiv" />
         </command>
+
+        <!-- This alias is missing because the ARB version returns GLhandleARB,
+        which is typedef'd as a pointer on OS X.  It could cause problems on
+        64-bit macs with shaders only available through the extension. -->
+        <command>
+            <proto><name>glGetAttachedObjectsARB</name></proto>
+            <alias name="glGetAttachedShaders" />
+        </command>
     </commands>
 
+    <enums>
+        <!-- These error codes weren't promoted to core with the rest of
+        EXT_framebuffer_object.  There's no harm in taking them in since
+        they're not passed to GL at any point. -->
+        <enum value="0x8CD9" name="GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS"/>
+        <enum value="0x8CDA" name="GL_FRAMEBUFFER_INCOMPLETE_FORMATS"/>
+    </enums>
+
+    <feature api="gl" name="MSPGL">
+        <require>
+            <enum name="GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS" />
+            <enum name="GL_FRAMEBUFFER_INCOMPLETE_FORMATS" />
+        </require>
+    </feature>
+
     <feature api="gl" name="MSPGL_REMOVE">
         <remove>
             <!-- These have no counterparts in the core version of
             ARB_shader_objects. -->
             <command name="glGetHandleARB" />
             <command name="glGetObjectParameterfvARB" />
+            <enum name="GL_PROGRAM_OBJECT_ARB" />
+            <enum name="GL_SHADER_OBJECT_ARB" />
+            <enum name="GL_OBJECT_TYPE_ARB" />
 
             <!-- Ignore this, as it comes from ARB_vertex_program and I'm not
             sure if it works with ARB_shader_objects. -->
@@ -49,7 +75,9 @@
     </feature>
 
     <extensions>
-        <extension name="GL_ARB_uniform_buffer_object" supported="gl">
+        <!-- Some functions mentioned in GL_ARB_uniform_buffer_object
+        specification are missing from gl.xml. -->
+        <extension name="GL_ARB_uniform_buffer_object" supported="gl|glcore">
             <require>
                 <command name="glBindBufferRange" />
                 <command name="glBindBufferBase" />