Support grabbing whichever OpenGL mode we are running under from GLInterface. GLES or GL
This commit is contained in:
parent
8230da26fe
commit
e04edd89cc
|
@ -16,6 +16,7 @@ public:
|
||||||
virtual void Swap() {}
|
virtual void Swap() {}
|
||||||
virtual void UpdateFPSDisplay(const char *Text) {}
|
virtual void UpdateFPSDisplay(const char *Text) {}
|
||||||
virtual void SetMode(u32 mode) { s_opengl_mode = mode; }
|
virtual void SetMode(u32 mode) { s_opengl_mode = mode; }
|
||||||
|
virtual u32 GetMode() { return s_opengl_mode; }
|
||||||
virtual bool Create(void *&window_handle) { return true; }
|
virtual bool Create(void *&window_handle) { return true; }
|
||||||
virtual bool MakeCurrent() { return true; }
|
virtual bool MakeCurrent() { return true; }
|
||||||
virtual bool ClearCurrent() { return true; }
|
virtual bool ClearCurrent() { return true; }
|
||||||
|
|
Loading…
Reference in New Issue