]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
bikeshedding: better indentation
authorThomas Debesse <dev@illwieckz.net>
Tue, 9 Nov 2021 03:00:35 +0000 (04:00 +0100)
committerThomas Debesse <dev@illwieckz.net>
Tue, 9 Nov 2021 09:59:11 +0000 (10:59 +0100)
radiant/renderstate.cpp

index f714fc7eb2dd16712ae6486829ae7d81ea8965c0..a667f625cbc3d247e70b70cfadd670b8f1bbece2 100644 (file)
@@ -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;