summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--canvas/source/directx/dx_winstuff.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index 0d629b431d76..021f82798b18 100644
--- a/canvas/source/directx/dx_winstuff.hxx
+++ b/canvas/source/directx/dx_winstuff.hxx
@@ -49,8 +49,13 @@ typedef IDirect3DSurface9 surface_type;
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
+#pragma warning(push, 1)
+#pragma warning(disable: 4458)
+
#include <gdiplus.h>
+#pragma warning(pop)
+
#undef max
#undef min