summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.h
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2022-02-17 09:54:07 -0800
committerDentomologist <dentomologist@gmail.com>2022-02-17 10:03:08 -0800
commitedbe202aa3290ca267acebc7e9602a08e447754f (patch)
treeeafb8422e72b074a35b08959c26fe49055a6c0c9 /Source/Core/VideoCommon/PostProcessing.h
parentd9e0bf72dcc2cf6f62b7406829deaf1d2c405986 (diff)
VideoCommon: Convert OptionType to enum class
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.h')
-rw-r--r--Source/Core/VideoCommon/PostProcessing.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.h b/Source/Core/VideoCommon/PostProcessing.h
index aafee8f1f6..c7f94535f5 100644
--- a/Source/Core/VideoCommon/PostProcessing.h
+++ b/Source/Core/VideoCommon/PostProcessing.h
@@ -24,11 +24,11 @@ class PostProcessingConfiguration
public:
struct ConfigurationOption
{
- enum OptionType
+ enum class OptionType
{
- OPTION_BOOL = 0,
- OPTION_FLOAT,
- OPTION_INTEGER,
+ Bool = 0,
+ Float,
+ Integer,
};
bool m_bool_value = false;
@@ -45,7 +45,7 @@ public:
std::vector<float> m_float_step_values;
std::vector<s32> m_integer_step_values;
- OptionType m_type = OptionType::OPTION_BOOL;
+ OptionType m_type = OptionType::Bool;
std::string m_gui_name;
std::string m_option_name;