diff options
Diffstat (limited to 'src/osd/modules/render/bgfx/paramuniformreader.h')
-rw-r--r-- | src/osd/modules/render/bgfx/paramuniformreader.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/osd/modules/render/bgfx/paramuniformreader.h b/src/osd/modules/render/bgfx/paramuniformreader.h index baf281b562b..b1ed2a87f69 100644 --- a/src/osd/modules/render/bgfx/paramuniformreader.h +++ b/src/osd/modules/render/bgfx/paramuniformreader.h @@ -6,15 +6,15 @@ // //================================================================== +#ifndef MAME_RENDER_BGFX_PARAMUNIFORMREADER_H +#define MAME_RENDER_BGFX_PARAMUNIFORMREADER_H + #pragma once -#ifndef __DRAWBGFX_PARAM_UNIFORM_READER__ -#define __DRAWBGFX_PARAM_UNIFORM_READER__ +#include "statereader.h" -#include <string> #include <map> - -#include "statereader.h" +#include <string> class bgfx_entry_uniform; class bgfx_uniform; @@ -23,10 +23,10 @@ class bgfx_parameter; class param_uniform_reader : public state_reader { public: - static bgfx_entry_uniform* read_from_value(const Value& value, std::string prefix, bgfx_uniform* uniform, std::map<std::string, bgfx_parameter*>& params); + static bgfx_entry_uniform* read_from_value(const Value& value, const std::string &prefix, bgfx_uniform* uniform, std::map<std::string, bgfx_parameter*>& params); private: - static bool validate_parameters(const Value& value, std::string prefix); + static bool validate_parameters(const Value& value, const std::string &prefix); }; -#endif // __DRAWBGFX_PARAM_UNIFORM_READER__ +#endif // MAME_RENDER_BGFX_PARAMUNIFORMREADER_H |