From c54b84aeb34ab36dfc63ce841c8cdba81b142952 Mon Sep 17 00:00:00 2001 From: The Dax Date: Mon, 16 Jun 2014 18:43:22 -0400 Subject: [PATCH] Oops, restore the deleted stencil test option since we haven't decided its fate yet. --- UI/GameSettingsScreen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index bbfc3d09b0..cb35269078 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -234,6 +234,9 @@ void GameSettingsScreen::CreateViews() { alphaHackEnable = !g_Config.bSoftwareRendering; alphaHack->SetEnabledPtr(&alphaHackEnable); + CheckBox *stencilTest = graphicsSettings->Add(new CheckBox(&g_Config.bDisableStencilTest, gs->T("Disable Stencil Test"))); + stencilTestEnable = !g_Config.bSoftwareRendering; + stencilTest->SetEnabledPtr(&stencilTestEnable); CheckBox *depthWrite = graphicsSettings->Add(new CheckBox(&g_Config.bAlwaysDepthWrite, gs->T("Always Depth Write"))); depthWriteEnable = !g_Config.bSoftwareRendering;