Support grabbing whichever OpenGL mode we are running under from GLInterface. GLES or GL

This commit is contained in:
Ryan Houdek 2013-12-28 00:58:08 -06:00
parent 8230da26fe
commit e04edd89cc
1 changed files with 1 additions and 0 deletions

View File

@ -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; }