link against libopenal by default rather than dlopening it

This commit is contained in:
Ludwig Nussel 2005-11-13 21:01:44 +00:00
parent 17719e0c61
commit 1c2722a9ba
3 changed files with 126 additions and 1 deletions

View file

@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qal.h"
#ifdef USE_OPENAL_DLOPEN
#if defined _WIN32
#include <windows.h>
#define OBJTYPE HMODULE
@ -340,5 +341,12 @@ void QAL_Shutdown( void )
qalcGetString = NULL;
qalcGetIntegerv = NULL;
}
#endif
qboolean QAL_Init(const char *libname)
{
return qtrue;
}
void QAL_Shutdown( void )
{
}
#endif