diff options
Diffstat (limited to 'src/osd/modules/render/bgfx/chainentry.h')
-rw-r--r-- | src/osd/modules/render/bgfx/chainentry.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osd/modules/render/bgfx/chainentry.h b/src/osd/modules/render/bgfx/chainentry.h index d6452861de2..271941537a7 100644 --- a/src/osd/modules/render/bgfx/chainentry.h +++ b/src/osd/modules/render/bgfx/chainentry.h @@ -34,13 +34,14 @@ class target_manager; class bgfx_chain_entry { public: - bgfx_chain_entry(std::string name, bgfx_effect* effect, clear_state* clear, std::vector<bgfx_suppressor*> suppressors, std::vector<bgfx_input_pair> inputs, std::vector<bgfx_entry_uniform*> uniforms, target_manager& targets, std::string output); + bgfx_chain_entry(std::string name, bgfx_effect* effect, clear_state* clear, std::vector<bgfx_suppressor*> suppressors, std::vector<bgfx_input_pair*> inputs, std::vector<bgfx_entry_uniform*> uniforms, target_manager& targets, std::string output); ~bgfx_chain_entry(); void submit(int view, render_primitive* prim, texture_manager& textures, uint16_t screen_width, uint16_t screen_height, float screen_scale_x, float screen_scale_y, float screen_offset_x, float screen_offset_y, uint32_t rotation_type, bool swap_xy, uint64_t blend, int32_t screen); // Getters std::string name() const { return m_name; } + std::vector<bgfx_input_pair*>& inputs() { return m_inputs; } bool skip(); private: @@ -62,7 +63,7 @@ private: bgfx_effect* m_effect; clear_state* m_clear; std::vector<bgfx_suppressor*> m_suppressors; - std::vector<bgfx_input_pair> m_inputs; + std::vector<bgfx_input_pair*> m_inputs; std::vector<bgfx_entry_uniform*> m_uniforms; target_manager& m_targets; std::string m_output; |