From: Kevin M. <sub...@us...> - 2002-01-31 15:51:45
|
subatomic 2002/01/31 07:51:44 PST Modified files: . GlutDriver.cpp Log: mWidth, and mHeight were not getting initialized. removed code that was checking for it to be 0 since it never would be (unless you were in debug mode, and your compiler inited the unitited variables mWidth, and mHeight.) instead of check for 0, if so, then set to 320x240, just init the width and height to 320x240. then just use those values in the kernel (applications can still override this). Revision Changes Path 1.7 +8 -11 aki/GlutDriver.cpp http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/aki/GlutDriver.cpp.diff?r1=1.6&r2=1.7 |