wined3d: Unbind all textures in wined3d_device_reset().
This commit is contained in:
parent
44e109debe
commit
27b20bac43
|
@ -5634,7 +5634,7 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device,
|
||||||
{
|
{
|
||||||
wined3d_device_set_stream_source(device, i, NULL, 0, 0);
|
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);
|
wined3d_device_set_texture(device, i, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue