mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-09 08:24:23 +00:00
fix: updated to 0.7
This commit is contained in:
parent
874edcb3ec
commit
f19ef56df9
8 changed files with 77 additions and 50 deletions
|
|
@ -77,14 +77,9 @@ public class ALCTest extends BasicTest {
|
|||
|
||||
//mo query
|
||||
buffer.rewind();
|
||||
ALC.alcGetIntegerv(
|
||||
ALC.ALC_MAJOR_VERSION,
|
||||
4,
|
||||
buffer);
|
||||
ALC.alcGetIntegerv(
|
||||
ALC.ALC_MINOR_VERSION,
|
||||
4,
|
||||
((IntBuffer)buffer.position(4)).slice());
|
||||
buffer.limit(1);
|
||||
ALC.alcGetInteger(ALC.ALC_MAJOR_VERSION, buffer);
|
||||
ALC.alcGetInteger(ALC.ALC_MINOR_VERSION, (IntBuffer) buffer.position(1).limit(2));
|
||||
|
||||
System.out.println("ALC_MAJOR_VERSION: " + buffer.get(0));
|
||||
System.out.println("ALC_MINOR_VERSION: " + buffer.get(1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue