VirtualBox

Ignore:
Timestamp:
May 19, 2020 11:23:09 AM (5 years ago)
Author:
vboxsync
Message:

Add/wddm: Adjustments for VC++ 19.2. bugref:8489

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/VBoxGallium.h

    r82968 r84367  
    2727
    2828#include "GaDdi.h"
     29
     30#include <iprt/cdefs.h>
     31#pragma warning(push)
     32#if RT_MSC_PREREQ(RT_MSC_VER_VC142)
     33# pragma warning(disable: 5204) /* warning C5204: 'IGaDirect3DDevice9Ex': class has virtual functions, but its trivial destructor is not virtual; instances of objects derived from this class may not be destructed correctly */
     34#endif
    2935
    3036class IGalliumStack;
     
    8187};
    8288
     89#pragma warning(pop)
     90
    8391
    8492HRESULT GalliumStackCreate(IGalliumStack **ppOut);
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/VBoxPresent.h

    r82968 r84367  
    2929
    3030#ifdef __cplusplus
     31
     32# include <iprt/cdefs.h>
     33# pragma warning(push)
     34# if RT_MSC_PREREQ(RT_MSC_VER_VC142)
     35#  pragma warning(disable: 5204) /* warning C5204: 'ID3DPresent': class has virtual functions, but its trivial destructor is not virtual; instances of objects derived from this class may not be destructed correctly */
     36# endif
     37
    3138/*
    3239 * Gallium only defines C interface for ID3DPresentGroup and ID3DPresent.
     
    7481};
    7582
     83# pragma warning(pop)
     84
    7685class IGaDirect3DDevice9Ex;
    7786HRESULT WDDMPresentGroupCreate(IGaDirect3DDevice9Ex *pGaDevice, ID3DPresentGroup **ppOut);
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