Add restrict keyword for movie patch conversion

This commit is contained in:
LJ Sonic 2023-11-14 19:10:54 +01:00
parent 68a7bb0285
commit e0fb405d6f

View file

@ -475,8 +475,8 @@ static void ConvertRGBAToPatch(movie_t *movie, movievideoframe_t *frame)
{
INT32 width = movie->frame->width;
INT32 height = movie->frame->height;
UINT8 *src = frame->imagedata[0];
UINT8 *dst = frame->patchdata;
UINT8 * restrict src = frame->imagedata[0];
UINT8 * restrict dst = frame->patchdata;
UINT16 *lut = movie->colorlut.table;
INT32 stride = 4 * width;