Issue 18 in glumpy: OpenGL.GL has no attribute GL_FRAMEBUFFER_EXT

5 views
Skip to first unread message

glu...@googlecode.com

unread,
Jun 29, 2012, 1:43:47 PM6/29/12
to Nicolas...@inria.fr
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 18 by james.be...@gmail.com: OpenGL.GL has no attribute
GL_FRAMEBUFFER_EXT
http://code.google.com/p/glumpy/issues/detail?id=18

What steps will reproduce the problem?
1. call Figure.save
2.
3.

What is the expected output? What do you see instead?

File "../lib/python2.7/site-packages/glumpy/figure.py", line 300, in save
fbo.glFramebufferTexture2DEXT( gl.GL_FRAMEBUFFER_EXT,
gl.GL_COLOR_ATTACHMENT0_EXT,
AttributeError: 'module' object has no attribute 'GL_FRAMEBUFFER_EXT'


What version of the product are you using? On what operating system?
PyPI versions of OpenGL and glumpy, ubuntu 12.

Please provide any additional information below.


glu...@googlecode.com

unread,
Jun 29, 2012, 2:17:43 PM6/29/12
to Nicolas...@inria.fr

Comment #1 on issue 18 by james.be...@gmail.com: OpenGL.GL has no attribute
GL_FRAMEBUFFER_EXT
http://code.google.com/p/glumpy/issues/detail?id=18

Modifying figure.py near line 300 to use the fbo object instead of the gl
object to get at these attributes made my code work:

fbo.glFramebufferTexture2DEXT( fbo.GL_FRAMEBUFFER_EXT,
fbo.GL_COLOR_ATTACHMENT0_EXT,
gl.GL_TEXTURE_2D, texture, 0)
fbo.glFramebufferRenderbufferEXT( fbo.GL_FRAMEBUFFER_EXT,
fbo.GL_DEPTH_ATTACHMENT_EXT,
fbo.GL_RENDERBUFFER_EXT,
depthbuffer)
status = fbo.glCheckFramebufferStatusEXT( fbo.GL_FRAMEBUFFER_EXT )

glu...@googlecode.com

unread,
Aug 17, 2012, 4:02:36 AM8/17/12
to Nicolas...@inria.fr
Updates:
Status: Fixed

Comment #2 on issue 18 by Nicolas...@gmail.com: OpenGL.GL has no
attribute GL_FRAMEBUFFER_EXT
http://code.google.com/p/glumpy/issues/detail?id=18

Thanks, it has been corrected.


Reply all
Reply to author
Forward
0 new messages