Skip to content

Commit d0b5e12

Browse files
author
nitrocaster
committed
Disable deprecation warnings for DxErr code.
1 parent 44a7046 commit d0b5e12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/xrCore/Debug/DXGetErrorDescription.inl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// XXX: don't use strcpy_s/wcscpy_s functions
2+
#pragma warning(push)
3+
#pragma warning(disable:4995) // strcpy_s marked as deprecated
14
if ( !count )
25
return;
36

@@ -444,3 +447,4 @@ switch (hr)
444447
// -------------------------------------------------------------
445448
CHK_ERR(XAPO_E_FORMAT_UNSUPPORTED, "Requested audio format unsupported.")
446449
}
450+
#pragma warning(pop)

0 commit comments

Comments
 (0)