On Thu, Jul 26, 2012 at 8:10 PM, Taylor Gordon <
taylorg...@gmail.com> wrote:
> Moreover, if I replace the wglSwapLayerBuffers call with the
> more standard SwapBuffers call, everything works correctly (60fps).
What have you changed exactly to get it working with SwapBuffers?
I tried replacing the line
wgl.wglSwapLayerBuffers(self.canvas.hdc, wgl.WGL_SWAP_MAIN_PLANE)
with
wgl.SwapBuffers(self.canvas.hdc)
But I always get the error
pyglet.gl.lib.MissingFunctionException: SwapBuffers is not
exported by the available OpenGL driver.
with current Nvidia and Intel drivers.
This may of course be a bug in pyglets wrapper or be related to the
dynamic linking issue Andre pointed out, but I'm curious how you got
it working?