Fix duplicate parameter names in GL_NV_memory_object_sparse
This fixes the duplicate "offset" parameter name in the functions:
glBufferPageCommitmentMemNV
glNamedBufferPageCommitmentMemNV
Fixes issue 421
diff --git a/xml/gl.xml b/xml/gl.xml
index 1e4f498..4eef9df 100644
--- a/xml/gl.xml
+++ b/xml/gl.xml
@@ -12810,7 +12810,7 @@
<param><ptype>GLintptr</ptype> <name>offset</name></param>
<param><ptype>GLsizeiptr</ptype> <name>size</name></param>
<param><ptype>GLuint</ptype> <name>memory</name></param>
- <param><ptype>GLuint64</ptype> <name>offset</name></param>
+ <param><ptype>GLuint64</ptype> <name>memOffset</name></param>
<param group="Boolean"><ptype>GLboolean</ptype> <name>commit</name></param>
</command>
<command>
@@ -23768,7 +23768,7 @@
<param><ptype>GLintptr</ptype> <name>offset</name></param>
<param><ptype>GLsizeiptr</ptype> <name>size</name></param>
<param><ptype>GLuint</ptype> <name>memory</name></param>
- <param><ptype>GLuint64</ptype> <name>offset</name></param>
+ <param><ptype>GLuint64</ptype> <name>memOffset</name></param>
<param group="Boolean"><ptype>GLboolean</ptype> <name>commit</name></param>
</command>
<command>
@@ -48730,8 +48730,7 @@
<command name="glNamedBufferAttachMemoryNV"/>
</require>
</extension>
- <!-- until fixed, per #421 supported="gl|glcore|gles2" -->
- <extension name="GL_NV_memory_object_sparse" supported="disabled">
+ <extension name="GL_NV_memory_object_sparse" supported="gl|glcore|gles2">
<require>
<command name="glBufferPageCommitmentMemNV"/>
<command name="glTexPageCommitmentMemNV"/>