Re: glGetInteger with GL_READ_FRAMEBUFFER_BINDING
Ákos Tóth <[email protected]> Mon, 14 Apr 2014 15:56:25 +0200
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CACxAQjWu63r+z8XHYhQndWF-4mZ_+wSKMJF0eyDV7FZNgBc66w@mail.gmail.com> |
This may be related to the mail where you asked us to get the sizes for the glGet return values (which I completely forgot about, up until 5 seconds after I sent the mail), if so, disregard me. On 14 April 2014 15:54, Ákos Tóth <[email protected]> wrote: > While trying to get the currently bound read buffer, I encountered the > following error: > > File "/home/marquesas/PycharmProjects/pygrafjatek/pyge/buffer.py", line > 56, in blit > previous = glGetInteger(GL_READ_FRAMEBUFFER_BINDING) > File "latebind.pyx", line 32, in > OpenGL_accelerate.latebind.LateBind.__call__ > (/tmp/pip_build_root/pyopengl-accelerate/src/latebind.c:989) > File "wrapper.pyx", line 303, in > OpenGL_accelerate.wrapper.Wrapper.__call__ > (/tmp/pip_build_root/pyopengl-accelerate/src/wrapper.c:6338) > File "wrapper.pyx", line 88, in > OpenGL_accelerate.wrapper.CArgCalculator.c_call > (/tmp/pip_build_root/pyopengl-accelerate/src/wrapper.c:2984) > File "wrapper.pyx", line 69, in > OpenGL_accelerate.wrapper.CArgCalculatorElement.c_call > (/tmp/pip_build_root/pyopengl-accelerate/src/wrapper.c:2536) > File "wrapper.pyx", line 64, in > OpenGL_accelerate.wrapper.CArgCalculatorElement.c_call > (/tmp/pip_build_root/pyopengl-accelerate/src/wrapper.c:2422) > File "arraydatatype.pyx", line 353, in > OpenGL_accelerate.arraydatatype.SizedOutputOrInput.c_call > (/tmp/pip_build_root/pyopengl-accelerate/src/arraydatatype.c:7180) > File "arraydatatype.pyx", line 346, in > OpenGL_accelerate.arraydatatype.SizedOutput.c_getSize > (/tmp/pip_build_root/pyopengl-accelerate/src/arraydatatype.c:6977) > KeyError: ('Unknown specifier GL_READ_FRAMEBUFFER_BINDING (36010) (lookup > = <built-in method __getitem__ of dict object at 0x7fb6692b8e60>)', 1, > <OpenGL.platform.baseplatform.glGetIntegerv object at 0x7fb6692b7c30>) > > This is exclusive to GL_READ_FRAMEBUFFER_BINDING; trying to read > GL_DRAW_FRAMEBUFFER_BINDING works. > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users