[v2 2/7] d3dx9: Add const qualifier to regstore_set_values() input data.
Paul Gofman
gofmanp at gmail.com
Mon Jun 12 06:22:01 CDT 2017
Signed-off-by: Paul Gofman <gofmanp at gmail.com>
---
v2:
- added patch.
---
dlls/d3dx9_36/preshader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/preshader.c b/dlls/d3dx9_36/preshader.c
index 126f3cc..e9c8387 100644
--- a/dlls/d3dx9_36/preshader.c
+++ b/dlls/d3dx9_36/preshader.c
@@ -368,7 +368,7 @@ static void regstore_set_modified(struct d3dx_regstore *rs, unsigned int table,
get_reg_offset(table, start_offset + count - 1));
}
-static void regstore_set_values(struct d3dx_regstore *rs, unsigned int table, void *data,
+static void regstore_set_values(struct d3dx_regstore *rs, unsigned int table, const void *data,
unsigned int start_offset, unsigned int count)
{
if (!count)
--
2.9.4
More information about the wine-patches
mailing list