This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit d477caed3e96839337e5fc8ec12cb6a248f49965
Author: Tomasz Kapuściński <[email protected]>
Date:   Mon Jun 1 18:41:14 2015 +0200

    Second attempt at correcting compilation error
---
 src/graphics/opengl/glutil.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/graphics/opengl/glutil.cpp b/src/graphics/opengl/glutil.cpp
index 119a869..5dbb97e 100644
--- a/src/graphics/opengl/glutil.cpp
+++ b/src/graphics/opengl/glutil.cpp
@@ -179,7 +179,7 @@ GLint LoadShader(GLint type, const char* filename)
     PHYSFS_close(file);
 
     GLuint shader = glCreateShader(type);
-    glShaderSource(shader, 1, sources, nullptr);
+    glShaderSource(shader, 1, const_cast<const GLchar**>(sources), nullptr);
     glCompileShader(shader);
 
     GLint status;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/colobot.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to