wined3d: Destroy the shader backend after the stateblock

H. Verbeet hverbeet at
Thu Jul 10 16:26:10 CDT 2008

Destroying the stateblock potentially references the shader backend.
If the stateblock has active shaders when it is released, the shader's
destructor will tell the shader backend to destroy the corresponding
resources. This was exposed by my patch that moved the glsl program
lookup table into the backend's private data.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 01-wined3d_shader_backend_destroy.diff.txt

More information about the wine-patches mailing list