Merge pull request #106398 from akien-mga/d3d12ma-silence-warnings
D3D12: Silence `-Wmaybe-uninitialized` warning in D3D12MemAlloc
This commit is contained in:
commit
3b7547fdd0
1 changed files with 9 additions and 1 deletions
|
|
@ -28,6 +28,14 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#include "rendering_context_driver_d3d12.h"
|
||||
// Wrapper needed to set the required rpcndr version for MinGW compatibility.
|
||||
// Since we're compiling thirdparty code in a Godot SCons environment with
|
||||
// warnings enabled, we also need to silence them manually.
|
||||
|
||||
#include "rendering_device_driver_d3d12.h" // For __REQUIRED_RPCNDR_H_VERSION__.
|
||||
|
||||
GODOT_GCC_WARNING_PUSH_AND_IGNORE("-Wmaybe-uninitialized")
|
||||
|
||||
#include <D3D12MemAlloc.cpp>
|
||||
|
||||
GODOT_GCC_WARNING_POP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue