Mesa (master): mesa/sso: Change CreateShaderProgramv return type from uint to GLuint.

Vinson Lee vlee at kemper.freedesktop.org
Sat Feb 22 02:07:24 UTC 2014


Module: Mesa
Branch: master
Commit: aaefc85f3b7c7bf5c0ab28344509ef4b291b4415
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaefc85f3b7c7bf5c0ab28344509ef4b291b4415

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Feb 21 17:16:14 2014 -0800

mesa/sso: Change CreateShaderProgramv return type from uint to GLuint.

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 at freedesktop.org>

---

 src/mapi/glapi/gen/ARB_separate_shader_objects.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/ARB_separate_shader_objects.xml b/src/mapi/glapi/gen/ARB_separate_shader_objects.xml
index f996456..80234ea 100644
--- a/src/mapi/glapi/gen/ARB_separate_shader_objects.xml
+++ b/src/mapi/glapi/gen/ARB_separate_shader_objects.xml
@@ -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" />




More information about the mesa-commit mailing list