mirror of
https://github.com/reactos/wine.git
synced 2025-02-20 12:50:53 +00:00
wined3d: Delete depth_blt_texture on IWineD3DDeviceImpl_Uninit3D().
This commit is contained in:
parent
ad59eaf998
commit
90b7efe2c4
@ -2285,6 +2285,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Uninit3D(IWineD3DDevice *iface, D3DCB_D
|
||||
/* Destroy the depth blt resources, they will be invalid after the reset. Also free shader
|
||||
* private data, it might contain opengl pointers
|
||||
*/
|
||||
if(This->depth_blt_texture) {
|
||||
glDeleteTextures(1, &This->depth_blt_texture);
|
||||
This->depth_blt_texture = 0;
|
||||
}
|
||||
This->shader_backend->shader_destroy_depth_blt(iface);
|
||||
This->shader_backend->shader_free_private(iface);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user