[glumpy] push by Nicolas.Rougier@gmail.com - Fix shader building, see issue 25 on 2013-01-23 06:28 GMT

0 views
Skip to first unread message

glu...@googlecode.com

unread,
Jan 23, 2013, 1:28:25 AM1/23/13
to nicolas...@inria.fr
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)
Reply all
Reply to author
Forward
0 new messages