aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2013-10-18 00:17:46 +0200
committerJohannes Schickel2013-10-19 22:18:15 +0200
commitbb1d49ba9cbdb5b50cbce0c6d714d2fd2e3c6da9 (patch)
tree2b877979d9b454d450d248cb5f4d7f3387f4e193 /gui/widget.cpp
parent53f9c0d69b96a6394aa90caf437d3a90b0affd3e (diff)
downloadscummvm-rg350-bb1d49ba9cbdb5b50cbce0c6d714d2fd2e3c6da9.tar.gz
scummvm-rg350-bb1d49ba9cbdb5b50cbce0c6d714d2fd2e3c6da9.tar.bz2
scummvm-rg350-bb1d49ba9cbdb5b50cbce0c6d714d2fd2e3c6da9.zip
OPENGL: Limit maximum Surface size to maximum texture size.
This is mostly aimed at old graphics chips. For example, wjp's old laptop only supports 1024x1024 textures but has a 1280x800 screen. Switching to fullscreen would create a bigger overlay than supported. Now it will get limited to an smaller resolution and then scaled too. Alternatively we could think of tiling surfaces into textures. But then handling scaling would be more complicated since it might result in artifacts on texture tile borders.
Diffstat (limited to 'gui/widget.cpp')
0 files changed, 0 insertions, 0 deletions