[ pyopengl-Bugs-2813722 ] FreeGLUT integration issues

"SourceForge.net" <[email protected]> Sat, 18 Jul 2009 22:46:52 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2813722, was opened at 2009-06-28 22:11
Message generated for change (Comment added) made by mcfletch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2813722&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: GLUT
Group: v3.0.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: FreeGLUT integration issues

Initial Comment:
Working with with FreeGLUT 2.6.0 rc1 and having this issues:

* Missing entries for OpenGL 3.x context in OpenGL.GLUT.freeglut.py
GLUT_INIT_MAJOR_VERSION, GLUT_INIT_MINOR_VERSION, GLUT_INIT_FLAGS, GLUT_DEBUG, GLUT_FORWARD_COMPATIBLE
glutInitContextVersion( int(majorVersion), int(minorVersion) ), glutInitContextFlags( int(flags) )
I know it's a release candidate, but it's not like it will change that much.

* Inverted assignment for HAVE_FREEGLUT variable in  OpenGL.GLUT.__init__.py
Why "HAVE_FREEGLUT = False" when freeglut was successfully imported?

* FreeGLUT does not have __glutCreateWindowWithExit entry used in OpenGL.GLUT.special.py
This could use the HAVE_FREEGLUT var above to avoid the call delegation and error.

* The OpenGL module only checks for glut32[.dll] (windows) and not freeglut[.dll] (or freeglut32).
I have compiled freeglut and renamed to glut32 to use it without changing much code.
It would be nice to have both in the system and selectable....

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

>Comment By: Mike C. Fletcher (mcfletch)
Date: 2009-07-18 18:46

Message:
Have begun work on this.  The constants are added, though they do not
appear in my version of FreeGLUT.  I've added the freeglut and freeglut32
dll names, but at the moment I don't have them selectable.  The
HAVE_FREEGLUT flag should be properly set now, and the wrapper operations
should only occur if __glutCreateWindowWithExit exists (so should not occur
for freeglut).  Will need to test the changes on Win32, of course.

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

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

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net