Skip to content

Commit

Permalink
[xml] Add missing len attribute to data parameters (#551)
Browse files Browse the repository at this point in the history
Some commands providing data of a known size did not have a len
attribute
  • Loading branch information
hbirchtree authored Nov 29, 2022
1 parent ffc1d00 commit 1a11c27
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions xml/gl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8367,7 +8367,7 @@ typedef unsigned int GLhandleARB;
<param group="SizedInternalFormat"><ptype>GLenum</ptype> <name>internalformat</name></param>
<param group="PixelFormat"><ptype>GLenum</ptype> <name>format</name></param>
<param group="PixelType"><ptype>GLenum</ptype> <name>type</name></param>
<param>const void *<name>data</name></param>
<param len="COMPSIZE(format,type)">const void *<name>data</name></param>
</command>
<command>
<proto>void <name>glClearNamedBufferDataEXT</name></proto>
Expand All @@ -8385,7 +8385,7 @@ typedef unsigned int GLhandleARB;
<param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param>
<param group="PixelFormat"><ptype>GLenum</ptype> <name>format</name></param>
<param group="PixelType"><ptype>GLenum</ptype> <name>type</name></param>
<param>const void *<name>data</name></param>
<param len="COMPSIZE(format,type)">const void *<name>data</name></param>
</command>
<command>
<proto>void <name>glClearNamedBufferSubDataEXT</name></proto>
Expand Down Expand Up @@ -9495,7 +9495,7 @@ typedef unsigned int GLhandleARB;
<param><ptype>GLsizei</ptype> <name>width</name></param>
<param group="InternalFormat"><ptype>GLenum</ptype> <name>format</name></param>
<param><ptype>GLsizei</ptype> <name>imageSize</name></param>
<param>const void *<name>data</name></param>
<param len="imageSize">const void *<name>data</name></param>
</command>
<command>
<proto>void <name>glCompressedTextureSubImage1DEXT</name></proto>
Expand All @@ -9518,7 +9518,7 @@ typedef unsigned int GLhandleARB;
<param><ptype>GLsizei</ptype> <name>height</name></param>
<param group="InternalFormat"><ptype>GLenum</ptype> <name>format</name></param>
<param><ptype>GLsizei</ptype> <name>imageSize</name></param>
<param>const void *<name>data</name></param>
<param len="imageSize">const void *<name>data</name></param>
</command>
<command>
<proto>void <name>glCompressedTextureSubImage2DEXT</name></proto>
Expand All @@ -9545,7 +9545,7 @@ typedef unsigned int GLhandleARB;
<param><ptype>GLsizei</ptype> <name>depth</name></param>
<param group="InternalFormat"><ptype>GLenum</ptype> <name>format</name></param>
<param><ptype>GLsizei</ptype> <name>imageSize</name></param>
<param>const void *<name>data</name></param>
<param len="imageSize">const void *<name>data</name></param>
</command>
<command>
<proto>void <name>glCompressedTextureSubImage3DEXT</name></proto>
Expand Down Expand Up @@ -14146,7 +14146,7 @@ typedef unsigned int GLhandleARB;
<param class="buffer"><ptype>GLuint</ptype> <name>buffer</name></param>
<param><ptype>GLintptr</ptype> <name>offset</name></param>
<param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param>
<param>void *<name>data</name></param>
<param len="size">void *<name>data</name></param>
</command>
<command>
<proto>void <name>glGetNamedBufferSubDataEXT</name></proto>
Expand Down

0 comments on commit 1a11c27

Please sign in to comment.