Use ALsizei/GLsizei to fix compile errors on mac / gcc 4.x.
This commit is contained in:
@@ -404,7 +404,7 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name,
|
||||
ALenum al_error = alGetError();
|
||||
|
||||
#ifdef OUDE_OPENAL
|
||||
unsigned int samplerate, numberofsamples; // openal_2.12
|
||||
ALsizei samplerate, numberofsamples; // openal_2.12
|
||||
#else
|
||||
int samplerate, numberofsamples; // openal_2.14+
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user