diff --git a/neercs/video/render.cpp b/neercs/video/render.cpp index 78953e4..fbade5a 100644 --- a/neercs/video/render.cpp +++ b/neercs/video/render.cpp @@ -1457,8 +1457,8 @@ void Render::Draw2D() glEnable(GL_TEXTURE_2D); glBlendFunc(GL_SRC_COLOR, GL_DST_ALPHA); - Video::SetClearColor(vec4(0.0f, 0.0f, 0.0f, 1.0f)); - Video::SetClearDepth(1.0f); // set depth buffer + rc.SetClearColor(vec4(0.0f, 0.0f, 0.0f, 1.0f)); + rc.SetClearDepth(1.0f); // set depth buffer Video::Clear(ClearMask::Color | ClearMask::Depth); m_txt_screen->Blit(border, canvas_size);