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");
|
Sys.log("Soundfiles loaded successfully");
|
||||||
// -----------------------------------------------------
|
// -----------------------------------------------------
|
||||||
|
|
||||||
|
Mouse.setGrabbed(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -406,6 +408,8 @@ public class PositionTest extends BasicTest {
|
||||||
|
|
||||||
AL10.alListener(AL10.AL_POSITION, listenerPosition);
|
AL10.alListener(AL10.AL_POSITION, listenerPosition);
|
||||||
|
|
||||||
|
// empty mouse buffer
|
||||||
|
while(Mouse.next());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue