[ 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 19:17
Message generated for change (Comment added) made by mcfletch
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: Closed
>Resolution: Fixed
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

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

>Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-01-19 20:42

Message:
Logged In: YES 
user_id=34901
Originator: NO

This should be fixed in current CVS.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2007-04-14 15:02

Message:
Logged In: NO 

Up !

Do you have any idea how to fix this ?

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.