aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-02 15:54:36 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-02 15:54:36 +0000
commit192dabab5e2e14092ee068a78ce9a7cf014c82db (patch)
treedb88a643fdac88247a45d5a4f60dccf1f308eb89
parentcd01bc3f0376a5b34e1b9c3a59b4a164b8143513 (diff)
downloadioquake3-aero-192dabab5e2e14092ee068a78ce9a7cf014c82db.tar.gz
ioquake3-aero-192dabab5e2e14092ee068a78ce9a7cf014c82db.zip
fix openal dlopen
git-svn-id: svn://svn.icculus.org/quake3/trunk@1355 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/client/qal.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/code/client/qal.c b/code/client/qal.c
index 66b7f03..5ddd67f 100644
--- a/code/client/qal.c
+++ b/code/client/qal.c
@@ -101,6 +101,11 @@ LPALCGETPROCADDRESS qalcGetProcAddress;
LPALCGETENUMVALUE qalcGetEnumValue;
LPALCGETSTRING qalcGetString;
LPALCGETINTEGERV qalcGetIntegerv;
+LPALCCAPTUREOPENDEVICE qalcCaptureOpenDevice;
+LPALCCAPTURECLOSEDEVICE qalcCaptureCloseDevice;
+LPALCCAPTURESTART qalcCaptureStart;
+LPALCCAPTURESTOP qalcCaptureStop;
+LPALCCAPTURESAMPLES qalcCaptureSamples;
static void *OpenALLib = NULL;
@@ -229,6 +234,11 @@ qboolean QAL_Init(const char *libname)
qalcGetEnumValue = GPA("alcGetEnumValue");
qalcGetString = GPA("alcGetString");
qalcGetIntegerv = GPA("alcGetIntegerv");
+ qalcCaptureOpenDevice = GPA("alcCaptureOpenDevice");
+ qalcCaptureCloseDevice = GPA("alcCaptureCloseDevice");
+ qalcCaptureStart = GPA("alcCaptureStart");
+ qalcCaptureStop = GPA("alcCaptureStop");
+ qalcCaptureSamples = GPA("alcCaptureSamples");
if(alinit_fail)
{
@@ -323,6 +333,11 @@ void QAL_Shutdown( void )
qalcGetEnumValue = NULL;
qalcGetString = NULL;
qalcGetIntegerv = NULL;
+ qalcCaptureOpenDevice = NULL;
+ qalcCaptureCloseDevice = NULL;
+ qalcCaptureStart = NULL;
+ qalcCaptureStop = NULL;
+ qalcCaptureSamples = NULL;
}
#else
qboolean QAL_Init(const char *libname)