summaryrefslogtreecommitdiffstats
path: root/src/java/net
diff options
context:
space:
mode:
authorathomas <[email protected]>2003-11-23 07:59:34 +0000
committerathomas <[email protected]>2003-11-23 07:59:34 +0000
commitfd857a2990d43463646245198dc5332733615f5b (patch)
tree2b620f4ff0894b6c6e6495df26146bac1a8513f3 /src/java/net
parent4e79a05761d181d3599dde625501a5279d326e00 (diff)
merged mac osx build file
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@73 03bf7f67-59de-4072-a415-9a990d468a3f
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) {