Changeset 48509 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d
- Timestamp:
- Sep 17, 2013 5:47:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/glsl_shader.c
r48500 r48509 235 235 struct shader_glsl_priv *priv; 236 236 const struct wined3d_gl_info *gl_info; 237 #ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP 238 struct wined3d_context *context; 239 #endif 237 240 }; 238 241 … … 6845 6848 delete_glsl_program_entry(ctx->priv, ctx->gl_info, program 6846 6849 #ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP 6847 , NULL6850 , ctx->context 6848 6851 #endif 6849 6852 ); … … 6861 6864 ctx.priv = priv; 6862 6865 ctx.gl_info = &device->adapter->gl_info; 6866 #ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP 6867 ctx.context = device->contexts[0]; 6868 #endif 6863 6869 wine_rb_destroy(&priv->ffp_vertex_shaders, shader_glsl_free_ffp_vertex_shader, &ctx); 6864 6870 } … … 7110 7116 delete_glsl_program_entry(ctx->priv, ctx->gl_info, program 7111 7117 #ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP 7112 , c ontext7118 , ctx->context 7113 7119 #endif 7114 7120 ); … … 7126 7132 ctx.priv = priv; 7127 7133 ctx.gl_info = &device->adapter->gl_info; 7134 #ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP 7135 ctx.context = device->contexts[0]; 7136 #endif 7128 7137 wine_rb_destroy(&priv->ffp_fragment_shaders, shader_glsl_free_ffp_fragment_shader, &ctx); 7129 7138 }
Note:
See TracChangeset
for help on using the changeset viewer.