diff options
| author | chriscamacho <[email protected]> | 2019-08-08 08:57:21 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-08-08 09:57:21 +0200 |
| commit | 2d5cc5ddbf3c0d157b67e7896f6b6efe58c65ef4 (patch) | |
| tree | 37dc40212260b6f4d3f47b18c532a545aef50e79 /src/raudio.c | |
| parent | f3555a1016ec67105d67959a55b0fd9fda29fd25 (diff) | |
| download | raylib-2d5cc5ddbf3c0d157b67e7896f6b6efe58c65ef4.tar.gz raylib-2d5cc5ddbf3c0d157b67e7896f6b6efe58c65ef4.zip | |
fixed xmloader bug, user must free model shaders and textures as they might be shared (#933)
Diffstat (limited to 'src/raudio.c')
| -rw-r--r-- | src/raudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raudio.c b/src/raudio.c index bfd7ef22..40c13667 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -1250,7 +1250,7 @@ Music LoadMusicStream(const char *fileName) int result = jar_xm_create_context_from_file(&ctxXm, 48000, fileName); - if (result > 0) // XM context created successfully + if (result == 0) // XM context created successfully { music.ctxType = MUSIC_MODULE_XM; jar_xm_set_max_loop_count(ctxXm, 0); // Set infinite number of loops |
