|
From: James W. W. <os...@jw...> - 2007-12-12 03:44:10
|
On Dec 11, 2007, at 4:17 PM, James Walker wrote: > The extra complication is mostly due to Windows. On Windows, in order > to get an appropriate function pointer, you must first get a function > pointer to wglChoosePixelFormatARB, and in order to get that, you must > already have an OpenGL context set up. Oops, that should say "On Windows, in order to get an appropriate pixel format, you must..." > So the typical routine would > involve creating a dummy window, getting the function pointer, > destroying the dummy window, and then proceeding to set up the window > you really want to use. I didn't want Quesa to get into the > business of > creating and destroying windows. |