than 1
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8169
d7cf8633-e32d-0410-b094-
e92efae38249
pixelformat = 0;
newpixelformat = 0;
- for (windowpass = 0;windowpass < 2;windowpass++)
+ // start out at the final windowpass if samples is 1 as it's the only feature we need extended pixel formats for
+ for (windowpass = samples == 1;windowpass < 2;windowpass++)
{
mainwindow = CreateWindowEx (ExWindowStyle, "DarkPlacesWindowClass", gamename, WindowStyle, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, NULL, NULL, global_hInstance, NULL);
if (!mainwindow)