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