commit | c6025ac1a3a8f4e91b68e1cc37a13b27cb3892e5 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Wed Feb 18 14:59:11 2015 -0700 |
committer | Chia-I Wu <olv@lunarg.com> | Thu Feb 19 13:03:25 2015 -0700 |
tree | 05d3f0df79e5c544db782f0f40aa7d1a0f576445 | |
parent | b5af7c5b1696d690093ffdd88d76f6b3d5632ff6 [diff] [blame] |
intel: do not cast away constness in intel_cmd_begin()
diff --git a/icd/intel/cmd.h b/icd/intel/cmd.h index c6b99b1..2d35e74 100644 --- a/icd/intel/cmd.h +++ b/icd/intel/cmd.h
@@ -42,6 +42,7 @@ struct intel_blend_state; struct intel_ds_state; struct intel_desc_set; +struct intel_render_pass; struct intel_cmd_item; struct intel_cmd_reloc; @@ -190,7 +191,7 @@ } index; - struct intel_render_pass *render_pass; + const struct intel_render_pass *render_pass; uint32_t draw_count; uint32_t wa_flags;