[PATCH 2/2] wined3d: Add a missing destroy_dummy_textures() call.

Matteo Bruni mbruni at codeweavers.com
Mon Jul 22 13:24:30 CDT 2013


---
 dlls/wined3d/device.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 464181f..07bb130 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1329,6 +1329,7 @@ HRESULT CDECL wined3d_device_uninit_3d(struct wined3d_device *device)
     /* Destroy the shader backend. Note that this has to happen after all shaders are destroyed. */
     device->blitter->free_private(device);
     device->shader_backend->shader_free_private(device);
+    destroy_dummy_textures(device, gl_info);
 
     /* Release the buffers (with sanity checks)*/
     if (device->onscreen_depth_stencil)
-- 
1.8.1.5




More information about the wine-patches mailing list