Defer vertex decoding until flush. Track draw calls so that they can be cached later.

This commit is contained in:
Henrik Rydgard committed 2013-01-19 17:05:50 +01:00
1 parent 229d4e9f32
commit 8ff96bbcd8
16 files changed
+351 -86

No files matched your search

+2
View File
@@ -67,6 +67,7 @@ void CConfig::Load(const char *iniFileName)
graphics->Get("SSAA", &SSAntiAlaising, 0);
graphics->Get("VBO", &bUseVBO, true);
graphics->Get("DisableG3DLog", &bDisableG3DLog, false);
graphics->Get("VertexCache", &bVertexCache, false);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -114,6 +115,7 @@ void CConfig::Save()
graphics->Set("SSAA", SSAntiAlaising);
graphics->Set("VBO", bUseVBO);
graphics->Set("DisableG3DLog", bDisableG3DLog);
graphics->Set("VertexCache", bVertexCache);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);