mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
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:
parent
c568a08022
commit
b4a353988d
1 changed files with 2 additions and 11 deletions
|
@ -12034,17 +12034,8 @@ int setrendermode(int renderer)
|
||||||
{
|
{
|
||||||
UNREFERENCED_PARAMETER(renderer);
|
UNREFERENCED_PARAMETER(renderer);
|
||||||
#ifdef POLYMOST
|
#ifdef POLYMOST
|
||||||
if (bpp == 8)
|
if (bpp == 8) renderer = 0;
|
||||||
{
|
else renderer = min(4,max(3,renderer));
|
||||||
if (renderer < 0) renderer = 0;
|
|
||||||
else if (renderer > 2) renderer = 2;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (renderer < 3) renderer = 3;
|
|
||||||
else if (renderer > 4) renderer = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
# ifdef POLYMER
|
# ifdef POLYMER
|
||||||
if (renderer == 4)
|
if (renderer == 4)
|
||||||
polymer_init();
|
polymer_init();
|
||||||
|
|
Loading…
Reference in a new issue