From: Thomas Debesse Date: Tue, 9 Nov 2021 03:00:35 +0000 (+0100) Subject: bikeshedding: better indentation X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ed2ddd01e61751003c3df463254f3bb64eb805c;p=xonotic%2Fnetradiant.git bikeshedding: better indentation --- diff --git a/radiant/renderstate.cpp b/radiant/renderstate.cpp index f714fc7e..a667f625 100644 --- a/radiant/renderstate.cpp +++ b/radiant/renderstate.cpp @@ -2150,13 +2150,15 @@ void OpenGLShader::construct( const char* name ){ break; case '$': - { - OpenGLStateMap::iterator i = g_openglStates->find( name ); - if ( i != g_openglStates->end() ) { - state = ( *i ).second; - break; + { + OpenGLStateMap::iterator i = g_openglStates->find( name ); + if ( i != g_openglStates->end() ) + { + state = ( *i ).second; + break; + } } - } + if ( string_equal( name + 1, "POINT" ) ) { state.m_state = RENDER_COLOURARRAY | RENDER_COLOURWRITE | RENDER_DEPTHWRITE; state.m_sort = OpenGLState::eSortControlFirst;