gs-mipmapper: Fix some warnings

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-03-27 18:41:18 +01:00
parent 1942782b56
commit 87e6767033

View file

@ -35,9 +35,14 @@
#endif #endif
#if defined(WIN32) || defined(WIN64) #if defined(WIN32) || defined(WIN64)
extern "C" { #ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 5039)
#endif
#include <Windows.h> #include <Windows.h>
} #ifdef _MSC_VER
#pragma warning(pop)
#endif
#endif #endif
// Here be dragons! // Here be dragons!
@ -50,12 +55,12 @@ struct graphics_subsystem {
}; };
#if defined(WIN32) || defined(WIN64) #if defined(WIN32) || defined(WIN64)
#include <d3d11.h>
#include <dxgi.h>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(push) #pragma warning(push)
#pragma warning(disable : 4201) #pragma warning(disable : 4201 4365)
#endif #endif
#include <d3d11.h>
#include <dxgi.h>
#include <util/windows/ComPtr.hpp> #include <util/windows/ComPtr.hpp>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(pop) #pragma warning(pop)