diff options
author | frosch <frosch@openttd.org> | 2014-04-27 12:15:14 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-04-27 12:15:14 +0000 |
commit | 631e8b45fd7bbd95766ee294304fad38dda946dc (patch) | |
tree | 67a68a8e68f7c7f05dd17d86071391e4fb778a37 /src/video/sdl_v.cpp | |
parent | 77889ab8e80653cb09cfc25b1d918b3562f1eab9 (diff) | |
download | openttd-631e8b45fd7bbd95766ee294304fad38dda946dc.tar.xz |
(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video modes.
-Remove: [win32] fullscreen_bpp setting, which is replaced by above setting.
-Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
Diffstat (limited to 'src/video/sdl_v.cpp')
-rw-r--r-- | src/video/sdl_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index 9b1dd727f..d34f5e6db 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -317,7 +317,7 @@ bool VideoDriver_SDL::CreateMainSurface(uint w, uint h) * (which we can't force in 8bpp on 8bpp mode, * unfortunately). */ - want_hwpalette = (bpp == 8 && _fullscreen); + want_hwpalette = bpp == 8 && _fullscreen && _support8bpp == S8BPP_HARDWARE; } else { /* User specified a value manually */ want_hwpalette = _use_hwpalette; |