From 4142b6ed1b1dc858a4a7ab16ca2f01a79567ce3b Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Tue, 21 Jun 2016 22:03:34 +0200 Subject: [PATCH] GCC compile fix --- src/r_draw_rgba.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_draw_rgba.h b/src/r_draw_rgba.h index 4808cb2574..617e831079 100644 --- a/src/r_draw_rgba.h +++ b/src/r_draw_rgba.h @@ -427,7 +427,7 @@ FORCEINLINE uint32_t alpha_blend(uint32_t fg, uint32_t bg) return 0xff000000 | (red << 16) | (green << 8) | blue; } -inline bool span_sampler_setup(const uint32_t *&source, int &xbits, int &ybits, fixed_t xstep, fixed_t ystep) +inline bool span_sampler_setup(const uint32_t * RESTRICT &source, int &xbits, int &ybits, fixed_t xstep, fixed_t ystep) { if (!r_bilinear) return false;