mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 03:11:03 +00:00
Add restrict keyword for movie patch conversion
This commit is contained in:
parent
68a7bb0285
commit
e0fb405d6f
1 changed files with 2 additions and 2 deletions
|
@ -475,8 +475,8 @@ static void ConvertRGBAToPatch(movie_t *movie, movievideoframe_t *frame)
|
||||||
{
|
{
|
||||||
INT32 width = movie->frame->width;
|
INT32 width = movie->frame->width;
|
||||||
INT32 height = movie->frame->height;
|
INT32 height = movie->frame->height;
|
||||||
UINT8 *src = frame->imagedata[0];
|
UINT8 * restrict src = frame->imagedata[0];
|
||||||
UINT8 *dst = frame->patchdata;
|
UINT8 * restrict dst = frame->patchdata;
|
||||||
UINT16 *lut = movie->colorlut.table;
|
UINT16 *lut = movie->colorlut.table;
|
||||||
INT32 stride = 4 * width;
|
INT32 stride = 4 * width;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue