d3dx9: Add const qualifier to regstore_set_values() input data.
Signed-off-by: Paul Gofman <gofmanp@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
45b0add678
commit
607ae76ada
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue