diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index e5e64c3e5c8..9e59a6602cc 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -227,7 +227,7 @@ static void setup_tri_coefficients( struct setup_context *setup, -static inline int subpixel_snap( float a ) +static INLINE int subpixel_snap( float a ) { return util_iround(FIXED_ONE * a - (FIXED_ONE / 2)); } |