From f6ee9c77f4eb3d75a0ee6915dc46949196c2fcec Mon Sep 17 00:00:00 2001 From: The Dax Date: Tue, 10 Jun 2014 18:40:28 -0400 Subject: [PATCH] Buildfix. --- UI/GameSettingsScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 7c840a15e2..bbfc3d09b0 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -229,8 +229,8 @@ void GameSettingsScreen::CreateViews() { graphicsSettings->Add(new ItemHeader(gs->T("Hack Settings", "Hack Settings (these WILL cause glitches)"))); graphicsSettings->Add(new CheckBox(&g_Config.bTimerHack, gs->T("Timer Hack"))); - // Maybe hide this on non-PVR? - CheckBox *alphaHack = graphicsSettings->Add(new CheckBox(&g_Config.bDisableAlphaTest, gs->T("Disable Alpha Test (PowerVR speedup)")))->OnClick.Handle(this, &GameSettingsScreen::OnShaderChange); + CheckBox *alphaHack = graphicsSettings->Add(new CheckBox(&g_Config.bDisableAlphaTest, gs->T("Disable Alpha Test (PowerVR speedup)"))); + alphaHack->OnClick.Handle(this, &GameSettingsScreen::OnShaderChange); alphaHackEnable = !g_Config.bSoftwareRendering; alphaHack->SetEnabledPtr(&alphaHackEnable);