From 3324bab81efb774d5ffa9374c17fb2588b1cc9ae Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 8 Oct 2011 03:08:13 -0700 Subject: [PATCH] Mark a couple more arrays with restrict --- Alc/mixer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Alc/mixer.c b/Alc/mixer.c index 4646a262..0181a31a 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -312,8 +312,8 @@ static void Mix_##T##_##sampler(ALsource *Source, ALCdevice *Device, \ { \ const ALuint NumChannels = Source->NumChannels; \ const T *RESTRICT data = srcdata; \ - ALfloat (*DryBuffer)[MAXCHANNELS]; \ - ALfloat *ClickRemoval, *PendingClicks; \ + ALfloat (*RESTRICT DryBuffer)[MAXCHANNELS]; \ + ALfloat *RESTRICT ClickRemoval, *RESTRICT PendingClicks; \ ALfloat DrySend[MAXCHANNELS]; \ FILTER *DryFilter; \ ALuint pos, frac; \