]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_mix.c
changed postprocess shader to use Texture_GammaRamps instead of
[xonotic/darkplaces.git] / snd_mix.c
index 43bca9d9dfdd8de6cf1165219ea8905ddea66f81..c6b68d889a3da3611ac70ab0b7b75c766fcc6cda 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -250,7 +250,7 @@ static qboolean SND_PaintChannel (channel_t *ch, unsigned int count)
                return false;
 
        sb_offset = ch->pos;
-       sb = ch->sfx->fetcher->getsb (ch, &sb_offset, count);
+       sb = ch->sfx->fetcher->getsb (ch->sfx->fetcher_data, &ch->fetcher_data, &sb_offset, count);
        if (sb == NULL)
        {
                Con_DPrintf("SND_PaintChannel: ERROR: can't get sound buffer from sfx \"%s\"\n",