[ pyopengl-Bugs-3468306 ] OpenGLContext tests/shadow_2.py on Mac

SourceForge.net <[email protected]> Wed, 04 Jan 2012 09:55:53 -0800
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #3468306, was opened at 2012-01-01 17:06
Message generated for change (Comment added) made by mcfletch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3468306&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: Context
Group: OpenGLContext v2.0
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: OpenGLContext tests/shadow_2.py on Mac

Initial Comment:
I was going through splendid OpenGLContext tutorials on Mac, and shadow_2.py tutorial gave a little bit of trouble. By fiddling around, I noticed that it needs a color buffer to be bound, just like win32 does.

So in current trunk, change tests/shadow_2.py line 95 (and perhaps the comment below):

            if sys.platform == 'win32':

to

            if sys.platform == 'win32' or sys.platform == "darwin":

Bumped into this on OS X 10.7.2 (Lion), 2.3GHz 13" Macbook Pro (early 2011).

As a side note, current release seems to be already two years old <http://pypi.python.org/pypi/OpenGLContext>. This is what installs through easy_install. Perhaps it would be time to update it?:)

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

>Comment By: Mike C. Fletcher (mcfletch)
Date: 2012-01-04 09:55

Message:
Thanks for bug-fix.  Yup, definitely should try to get a release out some
day.

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

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

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net