diff options
author | Michael Zucchi <[email protected]> | 2013-01-25 15:37:49 +0100 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2013-01-25 15:37:49 +0100 |
commit | 3cf2b66e13104b372611b3a9dbb722110370a9c7 (patch) | |
tree | 070bbe4e58f4661a601259e1ddfe6e96eefb3be4 /make/joal-alextabstract-CustomJavaCode.java | |
parent | 6b86449596dabf87201d7321799a39a7b78ab692 (diff) |
Bug 567 (part 1): add support for openal extensions
Imported JOAL specific parts from the patch made by Michael Zucchi.
Author: Michael Zucchi <[email protected]>
Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'make/joal-alextabstract-CustomJavaCode.java')
-rw-r--r-- | make/joal-alextabstract-CustomJavaCode.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/make/joal-alextabstract-CustomJavaCode.java b/make/joal-alextabstract-CustomJavaCode.java new file mode 100644 index 0000000..e73dc60 --- /dev/null +++ b/make/joal-alextabstract-CustomJavaCode.java @@ -0,0 +1,12 @@ +private static final ALExtProcAddressTable alExtProcAddressTable; + +static { + alExtProcAddressTable = new ALExtProcAddressTable(); + if(null==alExtProcAddressTable) { + throw new RuntimeException("Couldn't instantiate ALExtProcAddressTable"); + } + alExtProcAddressTable.reset(ALImpl.alDynamicLookupHelper); +} + +public static ALExtProcAddressTable getALExtProcAddressTable() { return alExtProcAddressTable; } + |