Re: [PyOpenGL-Users] Shader doesn't compile with Python 3
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2013-04-16 02:43:13
|
On 13-04-14 04:43 PM, Matt Williams wrote: > On 14 April 2013 16:05, Ian Mallett <ia...@ge...> wrote: >> Pass it binary strings. > If I do that with: > > VERTEX_SHADER = shaders.compileShader(b""" > #version 130 > > void main() > { > } > """, GL_VERTEX_SHADER) > > then it still works correctly on Python 2.7 but with Python 3.3 it errors with: The above code (with or without the b) works with Python 2.7, 3.2 and 3.3 on Ubuntu 64-bit with fglrx drivers when using bzr head. bzr head *also* for the first time, can run test_core.py on all of those platforms (when numpy and pygame are installed), however, I don't see anything in the changes I made which should have caused the error you saw. If you can test on bzr head, that would let me know whether we're looking at something already fixed, or a continuing bug. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |