[ pyopengl-Bugs-1682476 ] Unknown specifier GL_MAX_COLOR_ATTACHMENTS_EXT (36063)

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #1682476, was opened at 2007-03-16 16:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1682476&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GL
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unknown specifier GL_MAX_COLOR_ATTACHMENTS_EXT (36063)

Initial Comment:
Hello,

I can't get the following program to work:


import sys
from OpenGL.GLUT import *
from OpenGL.GL import *
from OpenGL.GL.EXT.framebuffer_object import *

argv = glutInit(sys.argv)
glutCreateWindow('foo')
if not glInitFramebufferObjectEXT():
    raise Exception, "framebuffer_object not available"

print glGenFramebuffersEXT(4)
print glGetIntegerv(GL_MAX_COLOR_ATTACHMENTS_EXT)


Here is the output:

[1 2 3 4]
Traceback (most recent call last):
  File "bugfbo.py", line 12, in ?
    print glGetIntegerv(GL_MAX_COLOR_ATTACHMENTS_EXT)
  File "build/bdist.linux-x86_64/egg/OpenGL/wrapper.py", line 1624, in __call__
  File "build/bdist.linux-x86_64/egg/OpenGL/wrapper.py", line 675, in wrapperCall
  File "build/bdist.linux-x86_64/egg/OpenGL/converters.py", line 195, in __call__
  File "build/bdist.linux-x86_64/egg/OpenGL/converters.py", line 234, in getSize
KeyError: ('Unknown specifier GL_MAX_COLOR_ATTACHMENTS_EXT (36063)', 'Failure in cConverter <OpenGL.converters.SizedOutput object at 0x2aaaadec7668>', [GL_MAX_COLOR_ATTACHMENTS_EXT], 1, <OpenGL.wrapper.glGetIntegerv object at 0x2aaaadecbe60>)

Do you have any idea how to fix this ?

Thank you.

-- Nicolas

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1682476&group_id=5988

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.