[PyOpenGL-Devel] [ pyopengl-Bugs-3468306 ] OpenGLContext tests/shadow_2.py on Mac
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2012-01-02 01:06:23
|
Bugs item #3468306, was opened at 2012-01-01 17:06 Message generated for change (Tracker Item Submitted) made by nobody 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: None 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?:) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3468306&group_id=5988 |