diff options
author | Johannes Schickel | 2015-12-08 13:21:05 +0100 |
---|---|---|
committer | Johannes Schickel | 2015-12-08 15:41:10 +0100 |
commit | 079037b73990b6107e59c7f1cd971c3a1cc221d1 (patch) | |
tree | 0858de87ee37f8bfd245d3dbb271acd0ca68ccc6 /test/common/serializer.h | |
parent | 7820bd5aed9d19fe09b910d1e6cc7ae1aa010631 (diff) | |
download | scummvm-rg350-079037b73990b6107e59c7f1cd971c3a1cc221d1.tar.gz scummvm-rg350-079037b73990b6107e59c7f1cd971c3a1cc221d1.tar.bz2 scummvm-rg350-079037b73990b6107e59c7f1cd971c3a1cc221d1.zip |
SDL: Prevent graphics stretching in fullscreen when using SDL2.
As a side effect we get better coordinates from mouse move events in
fullscreen, i.e. we do not get actual window coordinates but something close
to actual viewport coordinates. The easily noticable issue is that mouse
coordinates inside black bars are outside of the viewport. For example, the
x coordinate can get negative when there's a black bar at the left side.
Diffstat (limited to 'test/common/serializer.h')
0 files changed, 0 insertions, 0 deletions