mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 19:19:19 +02:00
fixes
This commit is contained in:
@@ -383,7 +383,7 @@ void opengl_renderer::Render_pass(rendermode const Mode)
|
||||
Update_Lights(simulation::Lights);
|
||||
scene_ubs.time = Timer::GetTime();
|
||||
scene_ubs.projection = OpenGLMatrices.data(GL_PROJECTION);
|
||||
scene_ubo->update(scene_ubs);
|
||||
scene_ubo->update(scene_ubs);
|
||||
scene_ubo->bind_uniform();
|
||||
|
||||
m_colorpass = m_renderpass;
|
||||
@@ -521,6 +521,9 @@ void opengl_renderer::Render_pass(rendermode const Mode)
|
||||
glDebug("uilayer render");
|
||||
UILayer.render();
|
||||
|
||||
// restore binding
|
||||
scene_ubo->bind_uniform();
|
||||
|
||||
glDebug("rendermode::color end");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user