mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-15 01:56:59 +02:00
always have vulkan enabled
This commit is contained in:
parent
0b2a0e2f63
commit
4d82520c85
10 changed files with 117 additions and 142 deletions
|
|
@ -87,9 +87,6 @@ target_link_libraries(qt_common PRIVATE gamemode::headers frontend_common)
|
|||
if (ENABLE_OPENGL)
|
||||
target_compile_definitions(qt_common PUBLIC HAS_OPENGL)
|
||||
endif()
|
||||
if (ENABLE_VULKAN)
|
||||
target_compile_definitions(qt_common PUBLIC HAS_VULKAN)
|
||||
endif()
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
if (DEFINED Qt6Gui_PRIVATE_INCLUDE_DIRS)
|
||||
|
|
|
|||
|
|
@ -538,9 +538,7 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QObject* parent)
|
|||
PAIR(VramUsageMode, Aggressive, tr("Aggressive")),
|
||||
}});
|
||||
translations->insert({Settings::EnumMetadata<Settings::RendererBackend>::Index(), {
|
||||
#ifdef HAS_VULKAN
|
||||
PAIR(RendererBackend, Vulkan, tr("Vulkan")),
|
||||
#endif
|
||||
#ifdef HAS_OPENGL
|
||||
PAIR(RendererBackend, OpenGL_GLSL, tr("OpenGL GLSL")),
|
||||
PAIR(RendererBackend, OpenGL_GLASM, tr("OpenGL GLASM (Assembly Shaders, NVIDIA Only)")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue