From fabd40013c441ca7498a12167deb6cb7e909a1be Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 4 Feb 2016 21:56:35 +0100 Subject: [PATCH] wined3d: Make the "icb" field in struct wined3d_shader_reg_maps const. Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/wined3d_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 6f4dc360268..8c939f8bb16 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -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 */