Module: Mesa
Branch: main
Commit: 83ebd637d516d5fbb2d4d998bd5a124993a4f6a8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=83ebd637d516d5fbb2d4d998bd5a124993a4f6a8

Author: Yonggang Luo <[email protected]>
Date:   Tue Sep 20 03:34:25 2022 +0800

d3d10ump: No need define snprintf anymore in InputAssembly.cpp

As minimal visual studio version are 2019

Signed-off-by: Yonggang Luo <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18685>

---

 src/gallium/frontends/d3d10umd/InputAssembly.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/gallium/frontends/d3d10umd/InputAssembly.cpp 
b/src/gallium/frontends/d3d10umd/InputAssembly.cpp
index ecbb90605a0..c473f0dca06 100644
--- a/src/gallium/frontends/d3d10umd/InputAssembly.cpp
+++ b/src/gallium/frontends/d3d10umd/InputAssembly.cpp
@@ -32,9 +32,6 @@
 
 
 #include <stdio.h>
-#if defined(_MSC_VER) && !defined(snprintf)
-#define snprintf _snprintf
-#endif
 
 #include "InputAssembly.h"
 #include "State.h"

Reply via email to