wined3d: Read from stateBlock instead of updateStateBlock in wined3d_device_get_texture_stage_state().

This commit is contained in:
Henri Verbeet 2013-08-22 09:48:41 +02:00 committed by Alexandre Julliard
parent 9b721da9a5
commit 6501f2e215
1 changed files with 1 additions and 1 deletions

View File

@ -3665,7 +3665,7 @@ DWORD CDECL wined3d_device_get_texture_stage_state(const struct wined3d_device *
return 0; 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, HRESULT CDECL wined3d_device_set_texture(struct wined3d_device *device,