</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. -->
</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" />