Continued with improvements to the start up procedure under win32.
Relocated pixel format stuff to DD_CreateWindow() as it should only be set once in a device context's life (not each time the renderer is restarted as this can reduce performance under some OpenGL implementations).
Folded all of the DD_SetWindow* routines into one and added change flags (to reduce number of calls and to allow for smarter logic).
Improved changes to/from fullscreen; only make one video mode change, handle bad mode changes better by not updating our internal state or proceeding with a reset (reverts to last known good mode).
Fear not those using *nix and MacOSX, I'll try to get svn working again for you soon (with the help of an X11 manual and our buildbots) once I solve the last of the WIN32 niggles in the new window management code.
Continued with improvements to the start up procedure under win32.
Relocated pixel format stuff to DD_CreateWindow() as it should only be set once in a device context's life (not each time the renderer is restarted as this can reduce performance under some OpenGL implementations).
Folded all of the DD_SetWindow* routines into one and added change flags (to reduce number of calls and to allow for smarter logic).
Improved changes to/from fullscreen; only make one video mode change, handle bad mode changes better by not updating our internal state or proceeding with a reset (reverts to last known good mode).
Fear not those using *nix and MacOSX, I'll try to get svn working again for you soon (with the help of an X11 manual and our buildbots) once I solve the last of the WIN32 niggles in the new window management code.