Add config option working around buggy graphics drivers

"subImageFix=true" should fix missing text on radeonsi fglrx
as well as most mobile drivers. Also fixes tileset atlas on
mobile.
This commit is contained in:
Jonas Kulla 2015-01-01 23:38:11 +01:00
parent 9122446b23
commit b42725ea20
5 changed files with 99 additions and 13 deletions

View file

@ -153,6 +153,7 @@ Config::Config()
fixedFramerate(0),
frameSkip(true),
solidFonts(false),
subImageFix(false),
gameFolder("."),
anyAltToggleFS(false),
enableReset(true),
@ -181,6 +182,7 @@ void Config::read(int argc, char *argv[])
PO_DESC(fixedFramerate, int) \
PO_DESC(frameSkip, bool) \
PO_DESC(solidFonts, bool) \
PO_DESC(subImageFix, bool) \
PO_DESC(gameFolder, std::string) \
PO_DESC(anyAltToggleFS, bool) \
PO_DESC(enableReset, bool) \