HW transform: Avoid 4x3 matrices for GLES 2.0 compat. Add option to turn hw transform on.

This commit is contained in:
Henrik Rydgard committed 2012-12-21 11:08:54 +01:00
1 parent 4d4370232c
commit 4bf2e52623
8 files changed
+57 -19

No files matched your search

+2
View File
@@ -57,6 +57,7 @@ void CConfig::Load(const char *iniFileName)
graphics->Get("DisplayFramebuffer", &bDisplayFramebuffer, false);
graphics->Get("WindowZoom", &iWindowZoom, 1);
graphics->Get("BufferedRendering", &bBufferedRendering, true);
graphics->Get("HardwareTransform", &bHardwareTransform, false);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -93,6 +94,7 @@ void CConfig::Save()
graphics->Set("DisplayFramebuffer", bDisplayFramebuffer);
graphics->Set("WindowZoom", iWindowZoom);
graphics->Set("BufferedRendering", bBufferedRendering);
graphics->Set("HardwareTransform", bHardwareTransform);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);