VERY experimental Nintendo Switch 2 emulator
C++
[cmake] remove unused YUZU_UNIX define (#2875)
lizzie2e092d5f5d81
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 138425bd19..6fbf9ba144 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -344,10 +344,6 @@ if (NOT EXISTS ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.file(WRITE ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json "")endif()-if (UNIX)- add_compile_definitions(YUZU_UNIX=1)-endif()-if (YUZU_LEGACY)message(WARNING "Making legacy build. Performance may suffer.")add_compile_definitions(YUZU_LEGACY)diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cppindex 8b10747b9a..c881e22d64 100644--- a/src/video_core/renderer_opengl/gl_device.cpp+++ b/src/video_core/renderer_opengl/gl_device.cpp@@ -124,7 +124,7 @@ static bool HasSlowSoftwareAstc(std::string_view vendor_name, std::string_view rreturn true;}if (vendor_name == "Intel") {- // Must be inside YUZU_UNIX ifdef as the Windows driver uses the same vendor string+ // Must be inside Unix ifdef as the Windows driver uses the same vendor string// iris, crocusconst bool is_intel_dg = (renderer.find("DG") != std::string_view::npos);return is_intel_dg;