[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pingus-CVS] Issue 138 in pingus: Unable to set video mode
From: |
pingus |
Subject: |
Re: [Pingus-CVS] Issue 138 in pingus: Unable to set video mode |
Date: |
Tue, 06 Jan 2015 14:12:49 +0000 |
Comment #5 on issue 138 by address@hidden: Unable to set video mode
https://code.google.com/p/pingus/issues/detail?id=138
Last comment:
As I mentioned above, the proposed patch unveiled another problem, which I
think it's unrelated, but not 100% sure. See below:
For some reason, even though the patch proposed above allows to start
pingus normally even if the desired resolution does not match the desired
one, the first time pingus is started the main window is misplaced: it's
rendered with the right resolution (e.g. 1872x1053) but with (0, 0)
coordinate placed offscreen, too far in the NW corner, as if it was not
considering the overscan setting.
I spent some time trying to find a solution for this, but in the end I
concluded that it's either an issue somewhere else deeper in pingus's
engine, or even in SDL_SetVideoMode(), and could not figure out clearly
where exactly the problem was.
Also, this is something that happens only the first time pingus is run with
the mismatched resolution: if you exit the game and start again, the
resolution will be fine again, same thing if you go to options and fiddle
with the resolution settings during the first run.
I haven't filed any bug related to this because it's still not clear to me
what the problem is. Perhaps someone with more knowledge about pingus
and/or SDL will be able to better figure out what the problem is.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings