Cleaning for opengl rendering prep.
This commit is contained in:
parent
402f381d10
commit
7c6a92f4ec
58 changed files with 570 additions and 533 deletions
|
@ -12,7 +12,8 @@ class IPlatformSurface
|
|||
{
|
||||
public:
|
||||
virtual ~IPlatformSurface() = default;
|
||||
virtual void paint(mt::Screen* screen) = 0;
|
||||
virtual void beforePaint(mt::Screen* screen) = 0;
|
||||
virtual void afterPaint(mt::Screen* screen) = 0;
|
||||
};
|
||||
|
||||
class IPlatformWindow : public IPlatformSurface
|
||||
|
@ -31,6 +32,7 @@ public:
|
|||
virtual void map() = 0;
|
||||
|
||||
virtual void clear() = 0;
|
||||
|
||||
protected:
|
||||
mt::Window* mWindow{nullptr};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue