From 2e092d5f5d8169ca6e83275cf86918b493864c34 Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 28 Oct 2025 23:52:38 +0100 Subject: [PATCH] [cmake] remove unused YUZU_UNIX define (#2875) Signed-off-by: lizzie Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2875 Reviewed-by: Caio Oliveira Reviewed-by: crueter Co-authored-by: lizzie Co-committed-by: lizzie --- CMakeLists.txt | 4 ---- src/video_core/renderer_opengl/gl_device.cpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 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.cpp index 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 r return 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, crocus const bool is_intel_dg = (renderer.find("DG") != std::string_view::npos); return is_intel_dg;