access violation when calling glGenFramebuffers

Patrick Dietrich <[email protected]> Wed, 03 Apr 2013 17:19:26 +0200
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Hi everyone,

I have a problem when calling glGenFramebuffers on Windows 7 64 bit:

Traceback (most recent call last):
     ...
   File "C:\Users\Patrick\Dev\PCT\open_gl_widgets.py", line 197, in __init__
     self.framebuffer_id = glGenFramebuffers(1);
   File "latebind.pyx", line 32, in 
OpenGL_accelerate.latebind.LateBind.__call__
(src\latebind.c:667)
   File "wrapper.pyx", line 308, in 
OpenGL_accelerate.wrapper.Wrapper.__call__ (s
rc\wrapper.c:5356)
   File "C:\Python27\lib\site-packages\OpenGL\platform\baseplatform.py", 
line 379
, in __call__
     return self( *args, **named )
WindowsError: exception: access violation writing 0xFFFFFFFFEA94A760

My PyOpenGL version is 3.0.2, including PyOpenGL_accelerate 3.0.2. I 
have installed both packages with the windows installers (AMD64 
versions). My graphics adaptor is an Intel HD Graphics 4000 for which 
I'm using the newest drivers (version 9.17.10.2843).

Calling bool(glGenFramebuffers) just before the call to 
glGenFramebuffers returns True. I have also tried to use the extension 
version glGenFramebuffersEXT but with the same result.

What might be the problem and how can I work around it?
How can I access the low level C-routines of OpenGL?

Cheers,
Patrick


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net