wined3d: Free shader private data on reset.
commitac57b4e2f57b4130702de0264508551e2b1f528e
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 18 Mar 2008 18:31:24 +0000 (18 19:31 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 25 Mar 2008 18:48:14 +0000 (25 19:48 +0100)
treefc52958320fd19a3beb38d49de7a918c9c36b056
parentaaced1f5babed236a4b1b0269e69d58ac2899dd6
wined3d: Free shader private data on reset.

Since the shader backend implementations might track opengl resources in
their private data inform them about reset calls. For example, the atifs
backend keeps track of the replacement shaders, which are lost during an
opengl context recreation.
dlls/wined3d/device.c
dlls/wined3d/glsl_shader.c