wined3d: Add a missing destroy_dummy_textures() call.

This commit is contained in:
Matteo Bruni 2013-07-22 20:24:30 +02:00 committed by Alexandre Julliard
parent e2cf98eb76
commit 42cfbb825c

View File

@ -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)