wined3d: Store the glsl program lookup table in the backend's private data.
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index b6377d3..cb019c7 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -310,6 +310,7 @@
/* GLSL shader private data */
struct shader_glsl_priv {
+ hash_table_t *glsl_program_lookup;
struct glsl_shader_prog_link *glsl_program;
GLhandleARB depth_blt_glsl_program_id;
};
@@ -824,7 +825,6 @@
int vs_selected_mode;
int ps_selected_mode;
const shader_backend_t *shader_backend;
- hash_table_t *glsl_program_lookup;
void *shader_priv;
struct StateEntry StateTable[STATE_HIGHEST + 1];
/* Array of functions for states which are handled by more than one pipeline part */
@@ -1991,8 +1991,6 @@
IWineD3DBaseShader *iface,
const DWORD code);
-void delete_glsl_program_entry(IWineD3DDevice *iface, struct glsl_shader_prog_link *entry);
-
/* Vertex shader utility functions */
extern BOOL vshader_get_input(
IWineD3DVertexShader* iface,