From 6501f2e21522158a4e4908b41a1f20434509af57 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 22 Aug 2013 09:48:41 +0200 Subject: [PATCH] wined3d: Read from stateBlock instead of updateStateBlock in wined3d_device_get_texture_stage_state(). --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 7122006f2c0..a4a06a9aa2f 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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,