mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 18:21:08 +00:00
Fix compilation of the dedicated server
Add missing OpenAL stubs.
This commit is contained in:
parent
2b9e2e5193
commit
1a5499e6f5
1 changed files with 11 additions and 0 deletions
|
@ -44,6 +44,13 @@ AL_API void AL_APIENTRY alSourceStop( ALuint sid ) { }
|
|||
|
||||
AL_API void AL_APIENTRY alGetSourcei( ALuint sid, ALenum pname, ALint* value ) { }
|
||||
|
||||
AL_API void AL_APIENTRY alSource3i( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 ) { }
|
||||
|
||||
|
||||
AL_API const ALchar* AL_APIENTRY alGetString( ALenum param ) {
|
||||
return "";
|
||||
}
|
||||
|
||||
AL_API ALint AL_APIENTRY alGetInteger( ALenum param ) { return 0; }
|
||||
|
||||
ALC_API void ALC_APIENTRY alcSuspendContext( ALCcontext *alcHandle ) { }
|
||||
|
@ -52,6 +59,10 @@ ALC_API ALCdevice * ALC_APIENTRY alcOpenDevice( const ALchar *tokstr ) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent( ALCdevice *device, const ALCchar *extname ) {
|
||||
return AL_FALSE;
|
||||
}
|
||||
|
||||
AL_API void AL_APIENTRY alDeleteBuffers( ALsizei n, const ALuint* buffers ) { }
|
||||
|
||||
AL_API ALboolean AL_APIENTRY alIsExtensionPresent( const ALchar* fname ) {
|
||||
|
|
Loading…
Reference in a new issue