mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 01:21:47 +00:00
wined3d: Unbind all textures in wined3d_device_reset().
This commit is contained in:
parent
44e109debe
commit
27b20bac43
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue