diff --git a/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementable/GlfwManagementClass.java b/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementable/GlfwManagementClass.java index 0afe5b22..ab581ef3 100644 --- a/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementable/GlfwManagementClass.java +++ b/windowing/glfw/src/main/java/de/staropensource/engine/windowing/glfw/implementable/GlfwManagementClass.java @@ -69,6 +69,9 @@ public final class GlfwManagementClass extends ApiManagementClass { // Update and render all windows for (Window window : Window.getWindows()) { + if (!window.isRendering()) + continue; + try { window.updateState(); window.render();