diff options
author | 2019-11-24 15:40:14 +0100 | |
---|---|---|
committer | 2019-11-24 15:40:28 +0100 | |
commit | 4cccc0183cef3dc959500d708256d18a98a62c46 (patch) | |
tree | 0c982d0df6032ded138b018070c52868b2df5e59 /src/osd/modules/render/bgfx/chainentry.h | |
parent | 19a09406a63005cc470695684a57a6e4e36196cb (diff) |
-bgfx: Fixed Github issues #5830 and #5956. [Ryan Holtz]
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 d9408531476..56c34653266 100644 --- a/src/osd/modules/render/bgfx/chainentry.h +++ b/src/osd/modules/render/bgfx/chainentry.h @@ -34,7 +34,7 @@ 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, bool apply_tint); ~bgfx_chain_entry(); void submit(int view, chain_manager::screen_prim &prim, texture_manager& textures, uint16_t screen_count, 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); @@ -59,7 +59,7 @@ private: void setup_screenindex_uniform(int32_t screen) const; bool setup_view(int view, uint16_t screen_width, uint16_t screen_height, int32_t screen) const; - void put_screen_buffer(uint16_t screen_width, uint16_t screen_height, bgfx::TransientVertexBuffer* buffer) const; + void put_screen_buffer(uint16_t screen_width, uint16_t screen_height, uint32_t screen_tint, bgfx::TransientVertexBuffer* buffer) const; std::string m_name; bgfx_effect* m_effect; @@ -69,6 +69,7 @@ private: std::vector<bgfx_entry_uniform*> m_uniforms; target_manager& m_targets; std::string m_output; + bool m_apply_tint; }; #endif // __DRAWBGFX_CHAIN_ENTRY__ |