fix formatting uglies introduced in glsl-master branch
This commit is contained in:
committed by
Sonicadvance1
parent
4a4833e617
commit
31a8424bcc
@@ -573,7 +573,7 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
|
||||
|
||||
// GLSL Option
|
||||
{
|
||||
if(strstr(choice_backend->GetString(choice_backend->GetSelection()).ToAscii(), "OpenGL") != NULL)
|
||||
if (strstr(choice_backend->GetString(choice_backend->GetSelection()).ToAscii(), "OpenGL") != NULL)
|
||||
{
|
||||
wxCheckBox* const cb_GLSL = CreateCheckBox(page_advanced, _("Use GLSL Shaders"), wxGetTranslation(GLSL_desc), vconfig.bUseGLSL);
|
||||
szr_misc->Add(cb_GLSL);
|
||||
|
||||
@@ -112,7 +112,7 @@ protected:
|
||||
void Event_ProgressiveScan(wxCommandEvent &ev)
|
||||
{
|
||||
SConfig::GetInstance().m_SYSCONF->SetData("IPL.PGS", ev.GetInt());
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = ev.GetInt();
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = !!ev.GetInt();
|
||||
|
||||
ev.Skip();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user