A user has reported an invalid operation OpenGL error from calling glUseProgramObjectARB. The important part of the trace:
File "/home/sigurd/Documents/Test/5.00/shader.py", line 119, in use
File "/usr/lib/python2.7/dist-packages/OpenGL/platform/baseplatform.py", line 379, in __call__
return self( *args, **named )
File "/usr/lib/python2.7/dist-packages/OpenGL/error.py", line 208, in glCheckError
baseOperation = baseOperation,
err = 1282,
description = 'invalid operation',
baseOperation = glUseProgramObjectARB,
cArguments = (2L,)
The exact source can be obtained by downloading the program from my website (here
). The program creates the shader after an OpenGL context has been created, and in any case works on all the computers I
have tested it on.
The user reports Python 2.7, PyGame 1.9.1, and PyOpenGL 3.1.0b2 running on Ubuntu 14.04 (x86-64). The GPU is an Intel Haswell Mobile.
I upgraded my PyOpenGL to the same version, but was unable to reproduce the problem myself (NVIDIA GeForce GTX 580M).
Any ideas, anyone?