summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-10-16 08:43:21 -0600
committerBrian Paul <[email protected]>2013-10-16 08:43:23 -0600
commit2273b04c6198d591c3dc5123c4d100da5bcc0e18 (patch)
tree3c85a24952ea05fa2512f0b40bcf3a55e9dd39a5 /src/mapi/glapi/gen
parent4f08cdefda8f1c99a7e197f6887fbfa275fa35c0 (diff)
mesa: change glTexImage[23]DMultisample() internalformat to GLenum
To match glext.h and the GL_ARB_texture_multisample extension. However, the GL 4.0 spec and man page say it's GLint. An OpenGL spec bug will be filed.
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/ARB_texture_multisample.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/ARB_texture_multisample.xml b/src/mapi/glapi/gen/ARB_texture_multisample.xml
index f0dd4f5f79b..1f65a8bcf80 100644
--- a/src/mapi/glapi/gen/ARB_texture_multisample.xml
+++ b/src/mapi/glapi/gen/ARB_texture_multisample.xml
@@ -37,7 +37,7 @@
<function name="TexImage2DMultisample" offset="assign">
<param name="target" type="GLenum"/>
<param name="samples" type="GLsizei"/>
- <param name="internalformat" type="GLint"/>
+ <param name="internalformat" type="GLenum"/>
<param name="width" type="GLsizei"/>
<param name="height" type="GLsizei"/>
<param name="fixedsamplelocations" type="GLboolean"/>
@@ -46,7 +46,7 @@
<function name="TexImage3DMultisample" offset="assign">
<param name="target" type="GLenum"/>
<param name="samples" type="GLsizei"/>
- <param name="internalformat" type="GLint"/>
+ <param name="internalformat" type="GLenum"/>
<param name="width" type="GLsizei"/>
<param name="height" type="GLsizei"/>
<param name="depth" type="GLsizei"/>