Mark a couple more pointers as restricted

This commit is contained in:
Chris Robinson
2011-05-06 00:33:58 -07:00
parent 2972de1047
commit 9967d4eadd
+3 -2
View File
@@ -910,9 +910,10 @@ static const Channel X71Chans[] = { FRONT_LEFT, FRONT_RIGHT,
SIDE_LEFT, SIDE_RIGHT };
#define DECL_TEMPLATE(T, chans,N, func) \
static void Write_##T##_##chans(ALCdevice *device, T *buffer, ALuint SamplesToDo)\
static void Write_##T##_##chans(ALCdevice *device, T *RESTRICT buffer, \
ALuint SamplesToDo) \
{ \
ALfloat (*DryBuffer)[MAXCHANNELS] = device->DryBuffer; \
ALfloat (*RESTRICT DryBuffer)[MAXCHANNELS] = device->DryBuffer; \
const ALuint *ChanMap = device->DevChannels; \
ALuint i, j; \
\