VirtualBox

Ignore:
Timestamp:
Sep 17, 2013 5:47:24 PM (11 years ago)
Author:
vboxsync
Message:

wined3d: bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/glsl_shader.c

    r48500 r48509  
    235235    struct shader_glsl_priv *priv;
    236236    const struct wined3d_gl_info *gl_info;
     237#ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP
     238    struct wined3d_context *context;
     239#endif
    237240};
    238241
     
    68456848        delete_glsl_program_entry(ctx->priv, ctx->gl_info, program
    68466849#ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP
    6847                             , NULL
     6850                            , ctx->context
    68486851#endif
    68496852                            );
     
    68616864    ctx.priv = priv;
    68626865    ctx.gl_info = &device->adapter->gl_info;
     6866#ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP
     6867    ctx.context = device->contexts[0];
     6868#endif
    68636869    wine_rb_destroy(&priv->ffp_vertex_shaders, shader_glsl_free_ffp_vertex_shader, &ctx);
    68646870}
     
    71107116        delete_glsl_program_entry(ctx->priv, ctx->gl_info, program
    71117117#ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP
    7112                             , context
     7118                            , ctx->context
    71137119#endif
    71147120                            );
     
    71267132    ctx.priv = priv;
    71277133    ctx.gl_info = &device->adapter->gl_info;
     7134#ifdef VBOX_WITH_WINE_FIX_SHADERCLEANUP
     7135    ctx.context = device->contexts[0];
     7136#endif
    71287137    wine_rb_destroy(&priv->ffp_fragment_shaders, shader_glsl_free_ffp_fragment_shader, &ctx);
    71297138}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette