forked from StarOpenSource/Engine
Respect a window's rendering flag state
This commit is contained in:
parent
2f0bc19e7c
commit
7a7da3729c
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue