[PyOpenGL-Users] Accessing Displays and Colors
Brought to you by:
mcfletch
From: Ian M. <geo...@gm...> - 2010-05-08 22:25:16
|
Hi, So, I've made an OpenGL library that lets one do very complicated operations very easily. The project, available here<http://www.pygame.org/project-glLib+Reloaded-1326-.html>, normally works excellently. On one of a user's computers, the function glLib/glLibMisc.py/glLibAlpha(alpha) hangs. After some deliberation, it was found that only certain functions cause the problem. By now, we think that the problem may occur only when OpenGL's color-related functions are accessed. These operations in the function cause a hang: glGet*(GL_CURRENT_COLOR) #Tries to access the current color glColor4f(...) #changes the GL color quit() sys.exit() #exits, of course pygame.quit() #closes the display These (and related things) don't: glGetDoublev(GL_MODELVIEW_MATRIX) #doesn't access any colors len('abc') #nothing to do with OpenGL A proper context has been set up with PyGame. Any idea what's going on? Thanks, Ian |