Disallow setting rendmode 2... software polymost is so broken that there's not even a point to allowing it anymore

git-svn-id: https://svn.eduke32.com/eduke32@907 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2008-07-26 04:16:19 +00:00
parent c568a08022
commit b4a353988d

View file

@ -12034,17 +12034,8 @@ int setrendermode(int renderer)
{
UNREFERENCED_PARAMETER(renderer);
#ifdef POLYMOST
if (bpp == 8)
{
if (renderer < 0) renderer = 0;
else if (renderer > 2) renderer = 2;
}
else
{
if (renderer < 3) renderer = 3;
else if (renderer > 4) renderer = 4;
}
if (bpp == 8) renderer = 0;
else renderer = min(4,max(3,renderer));
# ifdef POLYMER
if (renderer == 4)
polymer_init();