glGenFramebuffers undefined

Chris Weisiger <[email protected]>
Newsgroups gmane.comp.python.opengl.user
Message-ID <CABHB1j+qYHFvRoyoan7pmCqcJQ38B4d+MJYV6i_1wMG6XbBaBg@mail.gmail.com>
(Sorry for the spam to the moderators -- I hadn't finished processing
my membership before sending the first copy of this message)

I have a program I wrote that works fine on OSX*, but is failing on
Windows when I call gnGenFramebuffers. The exact error message is:

Attempt to call an undefined alternate function (glGenFramebuffers,
glGenFramebuffersEXT), check for bool(glGenFramebuffers) before
calling

I can't figure out why this isn't working. If I do try
glGetBoolean(glGenFramebuffers) then I get this error:

('Unknown specifier <OpenGL.extensions.glGenFramebuffers object at
0x00000000048CBD68>', 'Failure in cConverter
<OpenGL.converters.SizedOutput object at 0x00000000043EC248>',
(<OpenGL.extensions.glGenFramebuffers object at 0x00000000048CBD68>,),
1, <OpenGL.wrapper.glGetIntegerv object at 0x00000000045BCC48>)

I made a simple test application which demonstrates the error:
http://pastebin.com/YnA4hn0y
On OSX it works fine (no errors are printed); on WIndows it will spew
the above-mentioned error. Any ideas what I'm doing wrong here? I've
had no luck with Google.

-Chris

* Well, my graphics card driver causes a kernel panic whenever I step
slightly out of line, but aside from that it works fine...bleah!
That's why I'm trying the Windows machine in the first place.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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.