From 3cf2b66e13104b372611b3a9dbb722110370a9c7 Mon Sep 17 00:00:00 2001 From: Michael Zucchi Date: Fri, 25 Jan 2013 15:37:49 +0100 Subject: Bug 567 (part 1): add support for openal extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Imported JOAL specific parts from the patch made by Michael Zucchi. Author: Michael Zucchi Signed-off-by: Xerxes RĂ„nby --- make/joal-alextabstract-CustomJavaCode.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 make/joal-alextabstract-CustomJavaCode.java (limited to 'make/joal-alextabstract-CustomJavaCode.java') 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; } + -- cgit v1.2.3