fix: updated to 0.7

This commit is contained in:
Brian Matzon 2003-08-13 21:03:57 +00:00
parent 874edcb3ec
commit f19ef56df9
8 changed files with 77 additions and 50 deletions

View file

@ -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));