Possibly more accurate scaling.

This commit is contained in:
Linus Probert 2018-06-23 14:30:29 +02:00
parent dff55a1978
commit 53dc7e2fe6
1 changed files with 0 additions and 4 deletions

View File

@ -108,10 +108,6 @@ bool initSDL(void)
if (dim.height > 1080) { if (dim.height > 1080) {
info("Hi resolution screen detected (%u x %u)", dim.width, dim.height); info("Hi resolution screen detected (%u x %u)", dim.width, dim.height);
renderScale = ((double) dim.height)/1080; renderScale = ((double) dim.height)/1080;
if (renderScale > 2)
renderScale = 3;
else if (renderScale > 1)
renderScale = 2;
info("Scaling by %f", renderScale); info("Scaling by %f", renderScale);
} }