Commit 6501f2e2 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Read from stateBlock instead of updateStateBlock in…

wined3d: Read from stateBlock instead of updateStateBlock in wined3d_device_get_texture_stage_state().
parent 9b721da9
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment