mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-03 20:05:15 +02:00
using grabbed mode
This commit is contained in:
parent
7aa6e52e4b
commit
f4ed91d9a5
|
|
@ -226,6 +226,8 @@ public class PositionTest extends BasicTest {
|
|||
|
||||
Sys.log("Soundfiles loaded successfully");
|
||||
// -----------------------------------------------------
|
||||
|
||||
Mouse.setGrabbed(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -406,6 +408,8 @@ public class PositionTest extends BasicTest {
|
|||
|
||||
AL10.alListener(AL10.AL_POSITION, listenerPosition);
|
||||
|
||||
// empty mouse buffer
|
||||
while(Mouse.next());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue