Added getContext()

This commit is contained in:
Caspian Rychlik-Prince 2004-08-10 10:31:52 +00:00
parent 3f4e6edbb8
commit 3ff5cf64ef
1 changed files with 11 additions and 0 deletions

View File

@ -255,4 +255,15 @@ public final class AL {
}
private static native void resetNativeStubs(Class clazz);
/**
* Gets a handle to the current openAL context. The handle is "opaque" right now
* because, realistically, there is nothing you can actually do with it. If it turns
* out that there are useful things you can do with it then it'll return an instance
* of ALCcontext (which will have to become a public class)
* @return an opaque handle to the AL context.
*/
public static Object getContext() {
return context;
}
}