glapi: fix storage multisample build errors
authorDave Airlie <airlied@gmail.com>
Sun, 31 Mar 2013 10:41:28 +0000 (20:41 +1000)
committerDave Airlie <airlied@gmail.com>
Sun, 31 Mar 2013 10:41:28 +0000 (20:41 +1000)
Reported on #radeon by udovdh

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mapi/glapi/gen/ARB_texture_storage_multisample.xml

index ebd896526f91daa4d5f53e81f62a4bc57db2eb8c..0f9d323d4ffd3b4104e0c59c05894a3788feada2 100644 (file)
@@ -10,7 +10,7 @@
    <function name="TexStorage2DMultisample" 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"/>
@@ -19,7 +19,7 @@
    <function name="TexStorage3DMultisample" 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"/>