[Plib-devel] MacOSX/PLIB-PW problem.
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-06-26 06:12:31
|
MacOSX gurus... Please look at this: http://www.cse.unsw.edu.au/~cbro903/tuxkart_mac.jpg Looks to me like OpenGL didn't get a Z buffer - which would place the problem in PW. I took a quick look in plib/src/pw/pwMacOSX.cxx and saw this (around line 262): #ifdef UL_MAC_OSX if (fullscreen) attrib[i++] = AGL_FULLSCREEN; #endif //attrib[i++] = AGL_DEPTH_SIZE; //attrib[i++] = 24; //attrib[i++] = AGL_ALL_RENDERERS; attrib[i++] = AGL_NONE; ...why was this commented out? Seems like it's needed! I checked the CVS repository - and those lines have been commented out since the MacOSX version was first committed. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |