From 68e8c1ce04469a0419e6205bfba0eb2a1e9290c9 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 8 Jan 2021 20:22:08 +0200 Subject: [PATCH] Add multisampling --- src/core/Frontend.h | 4 ++-- src/core/config.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/Frontend.h b/src/core/Frontend.h index b27cccb5..4a812b05 100644 --- a/src/core/Frontend.h +++ b/src/core/Frontend.h @@ -661,8 +661,8 @@ public: int32 m_nSelectedScreenMode; #endif #ifdef MULTISAMPLING - static int8 m_nPrefsMSAALevel; - static int8 m_nDisplayMSAALevel; + int8 m_nPrefsMSAALevel; + int8 m_nDisplayMSAALevel; #endif enum LANGUAGE diff --git a/src/core/config.h b/src/core/config.h index 874ff39a..44033d93 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -312,7 +312,7 @@ enum Config { # define GRAPHICS_MENU_OPTIONS // otherwise Display settings will be scrollable # define NO_ISLAND_LOADING // disable loadscreen between islands via loading all island data at once, consumes more memory and CPU # define CUTSCENE_BORDERS_SWITCH -//# define MULTISAMPLING // adds MSAA option +# define MULTISAMPLING // adds MSAA option # define INVERT_LOOK_FOR_PAD // enable the hidden option # endif #endif @@ -382,7 +382,6 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually #ifdef LIBRW // these are not supported with librw yet -# undef MULTISAMPLING #endif // IMG #define BIG_IMG // allows to read larger img files