forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -300,4 +300,11 @@ struct Palette {
|
||||
int count_dirty; ///< The number of dirty elements.
|
||||
};
|
||||
|
||||
/** Modes for 8bpp support */
|
||||
enum Support8bpp {
|
||||
S8BPP_NONE = 0, ///< No support for 8bpp by OS or hardware, force 32bpp blitters.
|
||||
S8BPP_SYSTEM, ///< No 8bpp support by hardware, do not try to use 8bpp video modes or hardware palettes.
|
||||
S8BPP_HARDWARE, ///< Full 8bpp support by OS and hardware.
|
||||
};
|
||||
|
||||
#endif /* GFX_TYPE_H */
|
||||
|
Reference in New Issue
Block a user