summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 20:21:40 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 20:21:40 +0200
commit22d7b89c15feec7c2414fe9f24e104a4edd084bb (patch)
tree61ab7ebcf2061d10a75329e31f930cf08c6c71f1
parentinput_common: Remove #pragma warning directives for external headers (diff)
downloadyuzu-22d7b89c15feec7c2414fe9f24e104a4edd084bb.tar
yuzu-22d7b89c15feec7c2414fe9f24e104a4edd084bb.tar.gz
yuzu-22d7b89c15feec7c2414fe9f24e104a4edd084bb.tar.bz2
yuzu-22d7b89c15feec7c2414fe9f24e104a4edd084bb.tar.lz
yuzu-22d7b89c15feec7c2414fe9f24e104a4edd084bb.tar.xz
yuzu-22d7b89c15feec7c2414fe9f24e104a4edd084bb.tar.zst
yuzu-22d7b89c15feec7c2414fe9f24e104a4edd084bb.zip
-rw-r--r--src/video_core/command_classes/codecs/codec.h8
-rw-r--r--src/video_core/command_classes/vic.cpp7
2 files changed, 0 insertions, 15 deletions
diff --git a/src/video_core/command_classes/codecs/codec.h b/src/video_core/command_classes/codecs/codec.h
index 3e135a2a6..8a2a6c360 100644
--- a/src/video_core/command_classes/codecs/codec.h
+++ b/src/video_core/command_classes/codecs/codec.h
@@ -14,18 +14,10 @@ extern "C" {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif
-#ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable : 4242) // conversion from 'type' to 'type', possible loss of data
-#pragma warning(disable : 4244) // conversion from 'type' to 'type', possible loss of data
-#endif
#include <libavcodec/avcodec.h>
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
}
namespace Tegra {
diff --git a/src/video_core/command_classes/vic.cpp b/src/video_core/command_classes/vic.cpp
index 5faf8c0f1..ff3db0aee 100644
--- a/src/video_core/command_classes/vic.cpp
+++ b/src/video_core/command_classes/vic.cpp
@@ -9,17 +9,10 @@ extern "C" {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif
-#ifdef _MSC_VER
-#pragma warning(disable : 4244) // conversion from 'type' to 'type', possible loss of data
-#pragma warning(push)
-#endif
#include <libswscale/swscale.h>
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
}
#include "common/assert.h"