VirtualBox

Changeset 103468 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Feb 20, 2024 7:33:59 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161803
Message:

Devices/Graphics/shaderlib: Need to zero out two structs, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/shaderlib/glsl_shader.c

    r103417 r103468  
    4949WINE_DECLARE_DEBUG_CHANNEL(d3d_caps);
    5050WINE_DECLARE_DEBUG_CHANNEL(d3d);
     51
     52#ifdef VBOX
     53# include <iprt/string.h>
     54#endif
    5155
    5256#ifdef VBOX_WITH_VMSVGA
     
    47364740    struct ps_compile_args ps_compile_args;
    47374741    struct vs_compile_args vs_compile_args;
     4742
     4743#ifdef VBOX
     4744    RT_ZERO(ps_compile_args);
     4745    RT_ZERO(vs_compile_args);
     4746#endif
    47384747
    47394748    if (vshader) find_vs_compile_args((IWineD3DVertexShaderImpl *)vshader, device->stateBlock, &vs_compile_args);
Note: See TracChangeset for help on using the changeset viewer.

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