summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-02-19 08:51:51 -0700
committerBrian Paul <[email protected]>2016-02-19 08:51:51 -0700
commit71dcc067a56e76246841ae9208893db186d4b73e (patch)
tree0986af2559a2d4f97ecce4ee64dba52557fe36a0 /src/gallium/drivers/llvmpipe/lp_setup_context.h
parent6d551f9ea3559677f5535d44194111615ebaeb04 (diff)
llvmpipe: add a few const qualifiers
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h
index 5ab297d7e1a..97146912704 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h
@@ -169,8 +169,8 @@ struct lp_setup_context
};
static inline void
-scissor_planes_needed(boolean scis_planes[4], struct u_rect *bbox,
- struct u_rect *scissor)
+scissor_planes_needed(boolean scis_planes[4], const struct u_rect *bbox,
+ const struct u_rect *scissor)
{
/* left */
scis_planes[0] = (bbox->x0 < scissor->x0);