[PyOpenGL-Users] GL error on mac after using pyinstaller
Brought to you by:
mcfletch
|
From: enrike <al...@gm...> - 2016-10-20 19:55:21
|
Hi
I have an app that uses PyQt4 and PyOpenGL. On latest mac OSX the app
runs fine from command line but when I pack it with PyInstaller I get
this error.
Traceback (most recent call last):
File "site-packages/mirra/main.py", line 90, in resizeGL
File "site-packages/mirra/engine.py", line 183, in restart
File "errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
(src/errorchecker.c:1218)
OpenGL.error.GLError: GLError(
err = 1286,
description = 'invalid framebuffer operation',
baseOperation = glClear,
cArguments = (16640,)
)
removing the glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) from
that line to a previous step in the program seems to solve the problem,
any ideas why this is happening?
thanks
enrike
|