- we no longer support Windows 9x or NT 4 so its special code may just be removed entirely.

This commit is contained in:
Christoph Oelckers 2017-06-07 09:26:06 +02:00
commit 446d1eb9c8
5 changed files with 7 additions and 71 deletions

View file

@ -87,7 +87,6 @@ extern IDirectDraw2 *DDraw;
// PUBLIC DATA DEFINITIONS -------------------------------------------------
CVAR (Bool, vid_palettehack, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
CVAR (Bool, vid_attachedsurfaces, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
CVAR (Bool, vid_noblitter, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
CVAR (Int, vid_displaybits, 8, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
CUSTOM_CVAR (Float, rgamma, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
@ -264,16 +263,8 @@ bool DDrawFB::CreateResources ()
}
LOG3 ("Mode set to %d x %d x %d\n", Width, Height, bits);
if (vid_attachedsurfaces && OSPlatform == os_WinNT4)
{
if (!CreateSurfacesAttached ())
return false;
}
else
{
if (!CreateSurfacesComplex ())
return false;
}
if (!CreateSurfacesComplex ())
return false;
if (UseBlitter)
{