summaryrefslogtreecommitdiffhomepage
path: root/src/external
diff options
context:
space:
mode:
authorRay <[email protected]>2018-05-28 00:48:45 +0200
committerRay <[email protected]>2018-05-28 00:48:45 +0200
commit0148432588b1ead0676a7aa6fecba2d10c315153 (patch)
treedea1266285a4209c471c043b9608cc202f88cb0b /src/external
parentdbff40944a72df4b5435520fc09f3fb68e3cebdf (diff)
downloadraylib-0148432588b1ead0676a7aa6fecba2d10c315153.tar.gz
raylib-0148432588b1ead0676a7aa6fecba2d10c315153.zip
fabsf() not working with TCC
Replaced by fabs() that seem to work ok
Diffstat (limited to 'src/external')
-rw-r--r--src/external/jar_xm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/jar_xm.h b/src/external/jar_xm.h
index 9d4f5b5b..c8c9e3c9 100644
--- a/src/external/jar_xm.h
+++ b/src/external/jar_xm.h
@@ -2365,7 +2365,7 @@ static void jar_xm_tick(jar_xm_context_t* ctx) {
float panning, volume;
panning = ch->panning +
- (ch->panning_envelope_panning - .5f) * (.5f - fabsf(ch->panning - .5f)) * 2.0f;
+ (ch->panning_envelope_panning - .5f) * (.5f - fabs(ch->panning - .5f)) * 2.0f;
if(ch->tremor_on) {
volume = .0f;