|
From: Lane R. <la...@if...> - 2004-09-04 22:44:30
|
Recently I found that a SetPixelFormat call in Quesa was failing;
specifically the line
if (!SetPixelFormat(theContext->theDC, pixelFormat, &pixelFormatDesc))
in "./Renderers/Common/GLDrawContext.c"
Nothing had changed, except I updated my video drivers. This has probably
been the cause of almost all of my non-solvable OpenGL issues with Bugdom
and Nanosaur with a lot of customers who purchased one of these games
(ie, lots of refunds).
Anyone have any ideas on why this would fail? It's when it's creating a
new GL context, and the pixel format's "cColorBits" are zero (meaning, I
would assume, the default).
Anyway, the fix I found was to remove the error checking on this line;
when removed everything works just fine.
Thoughts on a "proper" solution welcome.
PS: Also, as I lost the source to the version of Quesa for Nanosaur,
anyone willing to help look at getting the CVS version of Quesa working
with Nanosaur (and/or Bugdom for that matter) would have my eternal thanks :)
Lane Roathe
President Ideas From the Deep <http://www.ifd.com>
___________________________________________________________________
When we drive on parkways, park in driveways, and never obey the speed
limit, is it any wonder our children have trouble with right and wrong?
|