mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
wow, wasn't thinking well with that one. fixes the seg with the default renderer
This commit is contained in:
parent
b987d5e887
commit
522b069433
1 changed files with 1 additions and 2 deletions
|
@ -112,8 +112,7 @@ SND_PaintChannels (unsigned endtime)
|
||||||
sfxbuffer_t *sc;
|
sfxbuffer_t *sc;
|
||||||
|
|
||||||
// clear the paint buffer
|
// clear the paint buffer
|
||||||
memset (snd_paintbuffer, 0, (endtime - snd_paintedtime) *
|
memset (snd_paintbuffer, 0, sizeof (snd_paintbuffer));
|
||||||
sizeof (portable_samplepair_t));
|
|
||||||
|
|
||||||
while (snd_paintedtime < endtime) {
|
while (snd_paintedtime < endtime) {
|
||||||
// if snd_paintbuffer is smaller than DMA buffer
|
// if snd_paintbuffer is smaller than DMA buffer
|
||||||
|
|
Loading…
Reference in a new issue