mirror of
https://github.com/reactos/wine.git
synced 2025-02-22 05:40:50 +00:00
wined3d: Read from stateBlock instead of updateStateBlock in wined3d_device_get_texture_stage_state().
This commit is contained in:
parent
9b721da9a5
commit
6501f2e215
@ -3665,7 +3665,7 @@ DWORD CDECL wined3d_device_get_texture_stage_state(const struct wined3d_device *
|
||||
return 0;
|
||||
}
|
||||
|
||||
return device->updateStateBlock->state.texture_states[stage][state];
|
||||
return device->stateBlock->state.texture_states[stage][state];
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_device_set_texture(struct wined3d_device *device,
|
||||
|
Loading…
x
Reference in New Issue
Block a user