Commit 27b20bac authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Unbind all textures in wined3d_device_reset().

parent 44e109de
......@@ -5634,7 +5634,7 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device,
{
wined3d_device_set_stream_source(device, i, NULL, 0, 0);
}
for (i = 0; i < MAX_FRAGMENT_SAMPLERS; ++i)
for (i = 0; i < MAX_COMBINED_SAMPLERS; ++i)
{
wined3d_device_set_texture(device, i, NULL);
}
......
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