diff options
author | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2015-03-15 10:02:57 +0200 |
---|---|---|
committer | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2015-03-30 17:34:43 +0300 |
commit | 79949793590e9899f8b793ce57a2910506d1aca3 (patch) | |
tree | 825457029ad7d002c1aff75ea518259482ee37a0 | |
parent | 07125c6fdf5e160041ac27ca75894faca82af019 (diff) |
i965/meta/clear: Declare input rectangle for drawing as constant
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c b/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c index d8ecd3f8a7..78d4d8ce7a 100644 --- a/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c +++ b/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c @@ -165,7 +165,8 @@ struct rect { }; static void -brw_draw_rectlist(struct gl_context *ctx, struct rect *rect, int num_instances) +brw_draw_rectlist(struct gl_context *ctx, const struct rect *rect, + int num_instances) { int start = 0, count = 3; struct _mesa_prim prim; |