Have our OpenGL/ES context creation be less stupid.

This commit is contained in:
Ryan Houdek
2013-12-12 12:43:49 -06:00
parent 2a0adc3972
commit f9ff0bc55d
6 changed files with 44 additions and 16 deletions

View File

@ -10,9 +10,12 @@ protected:
// Window dimensions.
u32 s_backbuffer_width;
u32 s_backbuffer_height;
u32 s_opengl_mode;
public:
virtual void Swap() {}
virtual void UpdateFPSDisplay(const char *Text) {}
virtual void SetMode(u32 mode) { s_opengl_mode = mode; }
virtual bool Create(void *&window_handle) { return true; }
virtual bool MakeCurrent() { return true; }
virtual bool ClearCurrent() { return true; }