X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Frenderstate.cpp;h=2f5596d13f23ba14d20860bc0d9d0845b6d61ef5;hp=db71b2263ada0dcc11ec2c2ac443adb7bb92a330;hb=4dc06d9733c517bfed7d7630cabb3a77c78b42ef;hpb=f2bd8e197e3600a2549c20f0de955b52a789d4f1;ds=sidebyside diff --git a/radiant/renderstate.cpp b/radiant/renderstate.cpp index db71b226..2f5596d1 100644 --- a/radiant/renderstate.cpp +++ b/radiant/renderstate.cpp @@ -2387,11 +2387,7 @@ void OpenGLShader::construct(const char* name) state.m_colour[2] = 0; state.m_colour[3] = 0.3f; state.m_state = RENDER_FILL|RENDER_DEPTHTEST|RENDER_CULLFACE|RENDER_BLEND|RENDER_COLOURWRITE|RENDER_DEPTHWRITE; - - // The bug "Selecting translucent brushes, such as clip, cause them to disappear leaving - // only the red selection box." seems to be fixed by removing the next line. - - // state.m_sort = OpenGLState::eSortHighlight; + state.m_sort = OpenGLState::eSortHighlight; state.m_depthfunc = GL_LEQUAL; } else if(string_equal(name+1, "CAM_OVERLAY"))