fabsf() not working with TCC
Replaced by fabs() that seem to work ok
This commit is contained in:
parent
dbff40944a
commit
0148432588
1 changed files with 18 additions and 18 deletions
2
src/external/jar_xm.h
vendored
2
src/external/jar_xm.h
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue