wined3d: Make the "icb" field in struct wined3d_shader_reg_maps const.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2016-02-04 21:56:35 +01:00 committed by Alexandre Julliard
parent 24b95aaff4
commit fabd40013c
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ struct wined3d_shader_reg_maps
WORD labels; /* MAX_LABELS, 16 */
DWORD temporary; /* MAX_REG_TEMP, 32 */
DWORD *constf; /* pixel, vertex */
struct wined3d_shader_immediate_constant_buffer *icb;
const struct wined3d_shader_immediate_constant_buffer *icb;
union
{
DWORD texcoord_mask[MAX_REG_TEXCRD]; /* vertex < 3.0 */