Disallow hardware without VBO support to simplify vertex buffer usages.

Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4054
This was SVN commit r25659.
This commit is contained in:
vladislavbelov
2021-06-03 22:06:59 +00:00
parent 45d7bee29b
commit b360b7bd2b
10 changed files with 23 additions and 72 deletions
-3
View File
@@ -76,7 +76,6 @@ CStr8 RenderPathEnum::ToString(RenderPath path)
CRenderingOptions::CRenderingOptions() : m_ConfigHooks(new ConfigHooks())
{
m_NoVBO = false;
m_RenderPath = RenderPath::DEFAULT;
m_Shadows = false;
m_WaterEffects = false;
@@ -168,8 +167,6 @@ void CRenderingOptions::ReadConfigAndSetupHooks()
});
m_ConfigHooks->Setup("silhouettes", m_Silhouettes);
m_ConfigHooks->Setup("novbo", m_NoVBO);
m_ConfigHooks->Setup("forcealphatest", m_ForceAlphaTest);
m_ConfigHooks->Setup("gpuskinning", [this]() {
bool enabled;