fix ogg load erroneously throwing errors
parent
39ef3c1043
commit
e5b743d06b
|
@ -854,7 +854,7 @@ static FAudioGMS_SoundInstance* FAudioGMS_INTERNAL_SoundInstance_CreateFromStati
|
||||||
|
|
||||||
double FAudioGMS_StreamingSound_LoadOGG(char* filePath)
|
double FAudioGMS_StreamingSound_LoadOGG(char* filePath)
|
||||||
{
|
{
|
||||||
int error = -1;
|
int error = 0;
|
||||||
stb_vorbis *fileHandle = stb_vorbis_open_filename(filePath, &error, NULL);
|
stb_vorbis *fileHandle = stb_vorbis_open_filename(filePath, &error, NULL);
|
||||||
|
|
||||||
if (error != 0)
|
if (error != 0)
|
||||||
|
|
Loading…
Reference in New Issue