Matteo Bruni : wined3d: Add a missing destroy_dummy_textures() call.
Module: wine Branch: master Commit: 42cfbb825c3293f63b4af2122afcb478c6491c74 URL: http://source.winehq.org/git/wine.git/?a=commit;h=42cfbb825c3293f63b4af2122a... Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Mon Jul 22 20:24:30 2013 +0200 wined3d: Add a missing destroy_dummy_textures() call. --- dlls/wined3d/device.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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)
participants (1)
-
Alexandre Julliard