Demos (cmake): util: Use apropriate call convention in fake_ValidateProgram ().

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Nov 9 13:03:50 UTC 2010


Module: Demos
Branch: cmake
Commit: b8dda2e6edac09aaf86f2560c2ca72feb8d34733
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=b8dda2e6edac09aaf86f2560c2ca72feb8d34733

Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Nov  9 12:58:55 2010 +0000

util: Use apropriate call convention in fake_ValidateProgram().

---

 src/util/shaderutil.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/shaderutil.c b/src/util/shaderutil.c
index 87d7e87..96002fc 100644
--- a/src/util/shaderutil.c
+++ b/src/util/shaderutil.c
@@ -41,7 +41,7 @@ PFNGLUNIFORM4FVPROC Uniform4fv = NULL;
 PFNGLGETACTIVEATTRIBPROC GetActiveAttrib = NULL;
 PFNGLGETATTRIBLOCATIONPROC GetAttribLocation = NULL;
 
-static void
+static void GLAPIENTRY
 fake_ValidateProgram(GLuint prog)
 {
    (void) prog;




More information about the mesa-commit mailing list