Technical support > Bugs in stable version (2.5)
Missing screen resolutions
Eegxeta:
Not sure if this is a bug or not but I used to be able to play this game in 1366x768 and now that resolution isn't there anymore.
Mattn:
you can run ufoai with
--- Code: ---./ufo +set vid_mode -1 +set vid_width 1366 +set vid_height 768
--- End code ---
Eegxeta:
ok how do I run it with that.
Grug:
Any reason 1920x1080 (1080p) appears to be missing?
Surely that is the most common res these days. I only noticed as the recent build of 2.5-dev for Debian caused the game to load in a full-screen window, but as a tiny 320x240 in the bottom left corner of the 1920x1080 window. I had to manually specify the res as detailed above (I did it in the config file) to get it working correctly (using the full size of the screen).
I took a look at the code on GitHub and the list of resolutions available in the client matches the list in src/client/cl_video.cpp exactly. I presume that there is meant to be some form of auto-detection code which was working in 2.4 but appears to no-longer, possibly an SDL2 issue?
Out of interest, I assume that my Linux desktop (Xfce4 + Compiz) was holding the screen to its native resolution and UFOAI or SDL2 was fooled into thinking the window it created it was full screen.
geever:
--- Quote from: Grug on November 11, 2013, 05:18:03 pm ---Any reason 1920x1080 (1080p) appears to be missing?
--- End quote ---
Blame SDL ;)
-geever
Navigation
[0] Message Index
[#] Next page
Go to full version