two more vars that were questionably not initalized...
Kent
This commit is contained in:
@@ -369,6 +369,9 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name,
|
|||||||
int samplerate, numberofsamples, frequency; // openal_2.14+
|
int samplerate, numberofsamples, frequency; // openal_2.14+
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Give them some safe defaults just incase */
|
||||||
|
bitrate = numberofchannels = 0;
|
||||||
|
|
||||||
/* load the sample from memory? */
|
/* load the sample from memory? */
|
||||||
if (size && memlocation)
|
if (size && memlocation)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user