diff --git a/src/CRE/render_manager.cpp b/src/CRE/render_manager.cpp index 18ca4344..78027954 100644 --- a/src/CRE/render_manager.cpp +++ b/src/CRE/render_manager.cpp @@ -446,12 +446,11 @@ namespace rndr { shad->curr_render_textures[1] = &shad->render_textures[1]; shad->curr_render_textures[2] = &shad->render_textures[2]; - for (int32_t i = 1; i < 3; i++) - for (int32_t j = 0; j < 4; j++) { - shad->curr_render_textures[i]->Bind(j); - glClearColor(1.0f, 1.0f, 1.0f, 1.0f); - glClear(GL_COLOR_BUFFER_BIT); - } + for (int32_t i = 1; i < 3; i++) { + shad->curr_render_textures[i]->Bind(); + glClearColor(1.0f, 1.0f, 1.0f, 1.0f); + glClear(GL_COLOR_BUFFER_BIT); + } } shader::unbind(); gl_state_bind_framebuffer(0);