[PyOpenGL-Users] glGetUniformBlockIndex
Brought to you by:
mcfletch
|
From: Walter W. <hom...@gm...> - 2014-04-01 05:46:11
|
Hello,
I am not sure if this is an expected behaviour or not yet ported to
Python 3.x , but when using glGetUniformBlockIndex
with uniformBlockName = "mymat" it throws an error:
baseplatform.py", line 385, in __call__
return self( *args, **named )
ctypes.ArgumentError: argument 2: <class 'TypeError'>: from_param() takes 2
positional arguments but 3 were given
I have to use uniformBlockName = b"mymat" instead.
I guess it it is the same with
window = glutCreateWindow(b"myWindow")
Kind regards,
Walter
|