summaryrefslogtreecommitdiffstats
path: root/src/java/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/net')
-rw-r--r--src/java/net/java/games/joal/ALCImpl.java26
1 files changed, 3 insertions, 23 deletions
diff --git a/src/java/net/java/games/joal/ALCImpl.java b/src/java/net/java/games/joal/ALCImpl.java
index 38a1b6e..c689f7d 100644
--- a/src/java/net/java/games/joal/ALCImpl.java
+++ b/src/java/net/java/games/joal/ALCImpl.java
@@ -50,14 +50,9 @@ final class ALCImpl implements ALC {
}
public Device alcOpenDevice(String deviceName) {
- System.out.println("Entering alcOpenDevice2()");
- Device result = openDeviceNative(deviceName);
- System.out.println("Exiting alcOpenDevice2()");
- return result;
+ return openDeviceNative(deviceName);
}
- /*
- private native int openDeviceNative(String deviceName);
-*/
+
private native Device openDeviceNative(String deviceName);
public void alcCloseDevice(Device device) {
@@ -67,22 +62,7 @@ final class ALCImpl implements ALC {
}
private native void closeDeviceNative(int pointer);
-/*
- public Context alcCreateContext(Device device, int[] attrs) {
- Context result = null;
- if(device != null) {
- int pointer = createContextNative(device.pointer, attrs);
- if (pointer != 0) {
- result = new Context(this, pointer);
- contextMap.put(new Integer(pointer), result);
- }
- }
- return result;
- }
-*/
-/*
- private native int createContextNative(int pointer, int[] attrs);
-*/
+
public Context alcCreateContext(Device device, int[] attrs) {
Context result = null;
if(device != null) {