16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 19:09:20 +02:00

Merge branch 'gfx-work' into nodecloner

This commit is contained in:
milek7
2019-03-01 00:10:31 +01:00
22 changed files with 234 additions and 42 deletions

View File

@@ -216,8 +216,6 @@ void ui_layer::update()
void ui_layer::render()
{
Timer::subsystem.gfx_gui.start();
render_background();
render_progress();
@@ -232,8 +230,6 @@ void ui_layer::render()
gl::buffer::unbind(gl::buffer::ARRAY_BUFFER);
ImGui::Render();
Timer::subsystem.gfx_gui.stop();
#ifdef EU07_USEIMGUIIMPLOPENGL2
ImGui_ImplOpenGL2_RenderDrawData(ImGui::GetDrawData());
ImGui_ImplOpenGL2_NewFrame();