Simple unoptimized software skinning.

Does not take advantage of the possible reduction in state changes yet.
This commit is contained in:
Henrik Rydgard authored and Henrik Rydgård committed 2013-11-13 18:10:57 +01:00
1 parent 3e6c2f0c78
commit 7e67476b00
9 files changed
+257 -59

No files matched your search

+2
View File
@@ -144,6 +144,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
graphics->Get("RenderingMode", &iRenderingMode, renderingModeDefault);
graphics->Get("SoftwareRendering", &bSoftwareRendering, false);
graphics->Get("HardwareTransform", &bHardwareTransform, true);
graphics->Get("SoftwareSkinning", &bSoftwareSkinning, false);
graphics->Get("TextureFiltering", &iTexFiltering, 1);
// Auto on Windows, 1x elsewhere. Maybe change to 2x on large screens?
#ifdef _WIN32
@@ -401,6 +402,7 @@ void Config::Save() {
graphics->Set("RenderingMode", iRenderingMode);
graphics->Set("SoftwareRendering", bSoftwareRendering);
graphics->Set("HardwareTransform", bHardwareTransform);
graphics->Set("SoftwareSkinning", bSoftwareSkinning);
graphics->Set("TextureFiltering", iTexFiltering);
graphics->Set("InternalResolution", iInternalResolution);
graphics->Set("FrameSkip", iFrameSkip);