Re: access violation when calling glGenFramebuffers
Cyrille Rossant <[email protected]> Fri, 5 Apr 2013 16:17:08 +0100
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CA+-1RQQ+6z9HuHh3qx2=nXcZ7iD02uAS2YzSOL3FY-791L1y3A@mail.gmail.com> |
> It turns out that, while I've been running test_core for 32-bit Python > on Win64, I *haven't* been running it for 64-bit Python on Win64 > (because I didn't have 64-bit Pygame or Numpy installed (now fixed)). > Test core did fail due to the use of a Python int for an IntConstant > where the value was 0xffffffff, (Python's int is apparently 32-bit on > 64-bit Python, sigh). With that fixed (in bzr head), running: > > test_core.py Tests.test_fbo > > *does* run correctly on a Win64 machine with 64-bit Python, Pygame and > Numpy. That is, I am using: > > fbo = glGenFramebuffers(1) > > and getting the expected frame buffer, then rendering something into it, > then rendering a quad with that texture on it. > > Weird thing is, you couldn't even *import* PyOpenGL on 64-bit Python... > so either it got broken rather recently or something fishy is occurring. > > That's weird, I've been using PyOpenGL for Python 64 bits on Windows 64 bits for some time (at least a year). I've always been using Chris Gohlke's build. Cyrille ------------------------------------------------------------------------------ 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 _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users