diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-06 02:09:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 02:09:23 +0200 |
commit | bf50345d4c13e34e69af0070632400b3472a1a11 (patch) | |
tree | 1af5586d2d416c1a347ea0bfabed30a3a56d51e0 /src/video_core/command_classes | |
parent | Merge pull request #6556 from Morph1984/default-mii (diff) | |
parent | CMakeLists: Disable all warnings for external headers (diff) | |
download | yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.gz yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.bz2 yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.lz yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.xz yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.tar.zst yuzu-bf50345d4c13e34e69af0070632400b3472a1a11.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/command_classes/codecs/codec.h | 8 | ||||
-rw-r--r-- | src/video_core/command_classes/vic.cpp | 7 |
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 f2aef1699..96c823c76 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" |