forked from bartvdbraak/blender
* Fix for another OpenAL compile error on MSVC.
This commit is contained in:
parent
b063d2f621
commit
0f933eb847
@ -645,7 +645,11 @@ int SND_OpenALDevice::GetPlayState(int id)
|
|||||||
int alstate = 0;
|
int alstate = 0;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
alGetSourcei(m_sources[id], AL_SOURCE_STATE, &alstate);
|
alGetSourcei(m_sources[id], AL_SOURCE_STATE, &alstate);
|
||||||
|
#else
|
||||||
|
alGetSourceiv(m_sources[id], AL_SOURCE_STATE, &alstate);
|
||||||
|
#endif
|
||||||
|
|
||||||
switch(alstate)
|
switch(alstate)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user