diff --git a/Minecraft.Client/Platform/Linux/Linux_UIController.cpp b/Minecraft.Client/Platform/Linux/Linux_UIController.cpp index 40139ba91..de6274756 100644 --- a/Minecraft.Client/Platform/Linux/Linux_UIController.cpp +++ b/Minecraft.Client/Platform/Linux/Linux_UIController.cpp @@ -8,8 +8,6 @@ // GDraw GL backend for Linux #include "Iggy/gdraw/gdraw_sdl.h" -#define _ENABLEIGGY - ConsoleUIController ui; static void restoreFixedFunctionStateAfterIggy() { diff --git a/meson.build b/meson.build index 9315ab7da..3b2913a2d 100644 --- a/meson.build +++ b/meson.build @@ -40,9 +40,11 @@ global_cpp_defs = [ if get_option('enable_vsync') global_cpp_defs += '-DENABLE_VSYNC' - message('v-sync enabled') endif +if get_option('enable_iggy') + global_cpp_defs += '-D_ENABLEIGGY' +endif if host_machine.system() == 'linux' global_cpp_defs += [ diff --git a/meson.options b/meson.options index c10135e97..e4ccb3f31 100644 --- a/meson.options +++ b/meson.options @@ -1,4 +1,9 @@ option('enable_vsync', type : 'boolean', value : true, - description : 'Toggles weather V-Sync will be toggle on or off.') + description : 'Toggles V-Sync and adds options to unlock maximum in-game framerate.') + +option('enable_shiggy', + type : 'boolean', + value : true, + description : 'Toggles shimmed PS4 Iggy binaries and UI for x86_64 Linux.')