mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
isDirty support
This commit is contained in:
parent
75572ebcf6
commit
9125d03f62
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002 Lightweight Java Game Library Project
|
||||
* Copyright (c) 2002-2004 Lightweight Java Game Library Project
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -205,6 +205,10 @@ public class MouseTest {
|
|||
|
||||
// pause and continue if minimized
|
||||
if(Window.isMinimized()) {
|
||||
if(Window.isDirty()) {
|
||||
render();
|
||||
Window.paint();
|
||||
}
|
||||
pause(100);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue