mesa/sso: Change CreateShaderProgramv return type from uint to GLuint.
authorVinson Lee <vlee@freedesktop.org>
Sat, 22 Feb 2014 01:16:14 +0000 (17:16 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sat, 22 Feb 2014 02:05:40 +0000 (18:05 -0800)
This patch fixes this MinGW build error.

  Compiling src/mapi/glapi/glapi_dispatch.c ...
In file included from src/mapi/glapi/glapi_dispatch.c:41:0:
build/windows-x86_64-debug/mapi/glapi/glapitable.h:930:4: error: expected specifier-qualifier-list before 'uint'
    uint (GLAPIENTRYP CreateShaderProgramv)(GLenum type, GLsizei count, const GLchar * const * strings); /* 886 */
    ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
src/mapi/glapi/gen/ARB_separate_shader_objects.xml

index f996456ef316fedd2710d7ee808e7e8143071cd6..80234ea5ee94a7625a59fcf2164ef08282ebe4de 100644 (file)
@@ -28,7 +28,7 @@
          <param name="type" type="GLenum" />
          <param name="count" type="GLsizei" />
          <param name="strings" type="const GLchar * const *" />
-         <return type="uint"/>
+         <return type="GLuint"/>
       </function>
       <function name="BindProgramPipeline" offset="assign">
          <param name="pipeline" type="GLuint" />