[PATCH 4/5] wined3d: Unbind all textures in wined3d_device_reset().
Henri Verbeet
hverbeet at codeweavers.com
Mon Jul 25 13:45:09 CDT 2011
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 9fd82b5..2db0e3f 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -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);
}
--
1.7.3.4
More information about the wine-patches
mailing list