mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-09 08:24:23 +00:00
Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring.
This commit is contained in:
parent
a538d84eb1
commit
85130ebd90
17 changed files with 113 additions and 368 deletions
|
|
@ -229,7 +229,7 @@ public class PositionTest extends BasicTest {
|
|||
Window.update();
|
||||
|
||||
// render and paint if !minimized and not dirty
|
||||
if(!Window.isMinimized()) {
|
||||
if(Window.isVisible()) {
|
||||
render();
|
||||
} else {
|
||||
// sleeeeeep
|
||||
|
|
@ -237,7 +237,7 @@ public class PositionTest extends BasicTest {
|
|||
}
|
||||
|
||||
// act on pause mode
|
||||
paused(Window.isMinimized() || !Window.isFocused());
|
||||
paused(!(Window.isVisible() || Window.isActive()));
|
||||
|
||||
// start sound after first paint, since we don't want
|
||||
// the delay before something is painted on the screen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue