Message ID | 20110721123634.17019.97198.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/shader.cpp' --- src/shader.cpp 2010-07-13 10:22:05 +0000 +++ src/shader.cpp 2010-11-19 10:05:11 +0000 @@ -91,7 +91,7 @@ glBindAttribLocation(mShaderProgram, TexCoordAttribLocation, "texcoord"); glLinkProgram(mShaderProgram); - glGetShaderInfoLog(mShaderProgram, sizeof msg, NULL, msg); + glGetProgramInfoLog(mShaderProgram, sizeof msg, NULL, msg); if (strlen(msg) > 0) printf("Shader Linking: %s\n", msg);