summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/bgfx/target.h')
-rw-r--r--src/osd/modules/render/bgfx/target.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/target.h b/src/osd/modules/render/bgfx/target.h
index 9d0481a0c7f..ad8efbde2cb 100644
--- a/src/osd/modules/render/bgfx/target.h
+++ b/src/osd/modules/render/bgfx/target.h
@@ -27,7 +27,7 @@ enum
class bgfx_target : public bgfx_texture_handle_provider
{
public:
- bgfx_target(std::string name, bgfx::TextureFormat::Enum format, uint16_t width, uint16_t height, uint32_t prescale_x, uint32_t prescale_y, uint32_t style, bool double_buffer, bool filter, bool init = true);
+ bgfx_target(std::string name, bgfx::TextureFormat::Enum format, uint16_t width, uint16_t height, uint32_t prescale_x, uint32_t prescale_y, uint32_t style, bool double_buffer, bool filter, bool init = true, bool output = false);
bgfx_target(void *handle, uint16_t width, uint16_t height);
virtual ~bgfx_target();
@@ -42,6 +42,7 @@ public:
bool filter() const { return m_filter; }
uint32_t prescale_x() const { return m_prescale_x; }
uint32_t prescale_y() const { return m_prescale_y; }
+ bool output() const { return m_output; }
// bgfx_texture_handle_provider
virtual uint16_t width() const override { return m_width; }
@@ -65,6 +66,7 @@ private:
bool m_double_buffer;
uint32_t m_style;
bool m_filter;
+ bool m_output;
uint32_t m_current_page;