Compare commits
1 Commits
amigaos
...
small_scre
Author | SHA1 | Date |
---|---|---|
Linus Probert | 68f56b7550 |
|
@ -204,8 +204,9 @@ bool initSDL(void)
|
||||||
|
|
||||||
Dimension dim = getScreenDimensions();
|
Dimension dim = getScreenDimensions();
|
||||||
|
|
||||||
if (dim.height > 1080) {
|
if (dim.height != 1080) {
|
||||||
info("Hi resolution screen detected (%u x %u)", dim.width, dim.height);
|
info("Different resolution screen detected (%u x %u)", dim.width, dim.height);
|
||||||
|
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "0");
|
||||||
renderScale = ((double) dim.height)/1080;
|
renderScale = ((double) dim.height)/1080;
|
||||||
info("Scaling by %f", renderScale);
|
info("Scaling by %f", renderScale);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue