Browse Source
[cmake] remove unused YUZU_UNIX define
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2875/head
lizzie
3 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
2 changed files with
1 additions and
5 deletions
-
CMakeLists.txt
-
src/video_core/renderer_opengl/gl_device.cpp
|
|
|
@ -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) |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|