summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/statereader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/bgfx/statereader.h')
-rw-r--r--src/osd/modules/render/bgfx/statereader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/modules/render/bgfx/statereader.h b/src/osd/modules/render/bgfx/statereader.h
index 9542116624a..6245a2cd3c8 100644
--- a/src/osd/modules/render/bgfx/statereader.h
+++ b/src/osd/modules/render/bgfx/statereader.h
@@ -36,6 +36,7 @@ protected:
static void validate_boolean_parameter(const Value& value, std::string type_name, std::string name);
static bool get_bool(const Value& value, const std::string name, const bool default_value);
+ static float get_float(const Value& value, const std::string name, float default_value);
static void get_float(const Value& value, const std::string name, float* out, float* default_value, const int count = 1);
static int get_int(const Value& value, const std::string name, int default_value);
static std::string get_string(const Value& value, const std::string name, const std::string default_value);