summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/inputpair.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/bgfx/inputpair.h')
-rw-r--r--src/osd/modules/render/bgfx/inputpair.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/osd/modules/render/bgfx/inputpair.h b/src/osd/modules/render/bgfx/inputpair.h
index 196165c69f4..eccd9bccb09 100644
--- a/src/osd/modules/render/bgfx/inputpair.h
+++ b/src/osd/modules/render/bgfx/inputpair.h
@@ -14,24 +14,22 @@
#ifndef __DRAWBGFX_INPUT_PAIR__
#define __DRAWBGFX_INPUT_PAIR__
-#include <bgfx/bgfx.h>
-
#include <string>
class bgfx_effect;
-class bgfx_texture;
+class texture_manager;
class bgfx_input_pair
{
public:
- bgfx_input_pair(int index, std::string sampler, bgfx_texture* texture);
+ bgfx_input_pair(int index, std::string sampler, std::string texture);
- void bind(bgfx_effect *effect);
+ void bind(bgfx_effect *effect, texture_manager& textures);
private:
- int m_index;
- std::string m_sampler;
- bgfx_texture* m_texture;
+ int m_index;
+ std::string m_sampler;
+ std::string m_texture;
};
#endif // __DRAWBGFX_INPUT_PAIR__