Commit 7638e550 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 8ef3a142
......@@ -2098,7 +2098,7 @@ void CDECL wined3d_device_get_material(const struct wined3d_device *device, stru
{
TRACE("device %p, material %p.\n", device, material);
*material = device->updateStateBlock->state.material;
*material = device->stateBlock->state.material;
TRACE("diffuse {%.8e, %.8e, %.8e, %.8e}\n",
material->diffuse.r, material->diffuse.g,
......
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