Revision: 398ce5ebd520
Author: Nicolas Rougier <
Nicolas...@inria.fr>
Date: Tue Jan 22 22:28:13 2013
Log: Fix shader building, see issue 25
http://code.google.com/p/glumpy/source/detail?r=398ce5ebd520
Modified:
/glumpy/graphics/shader.py
=======================================
--- /glumpy/graphics/shader.py Wed Sep 21 06:59:05 2011
+++ /glumpy/graphics/shader.py Tue Jan 22 22:28:13 2013
@@ -105,7 +105,7 @@
shader = gl.glCreateShader(shader_type)
# Upload shader code
- gl.glShaderSource(shader, strings)
+ gl.glShaderSource(shader, [strings,])
# compile the shader
gl.glCompileShader(shader)