Re: [PyOpenGL-Users] Problem accessing variosu function
Brought to you by:
mcfletch
From: Nicolas R. <Nic...@lo...> - 2010-04-21 08:16:54
|
In fact, the code I sent was kind of a shortcut and I'm actually creating a proper context using glut (full sources are available at http://code.google.com/p/glumpy/). Currently, I'm only able to run my demo-teapot.py example, all other examples use shaders and do not work anymore. Nicolas On Tue, 2010-04-20 at 10:46 -0700, Ian Mallett wrote: > Yes, a context is necessary for many functions to work properly. > > > I'm not sure, but as I recall, a proper pygame/OpenGL context also > requires a pygame.DOUBLEBUF flag. That probably doesn't influence > whether the context exists or not, but it should influence whether you > can use it later. > > > Ian |