GLInterface: Fix VideoSW on linux + OSX

Our Video Software backend isn't OpenGL Core compatible, so we need a flag to alloc a compatible one.
This commit is contained in:
degasus
2015-09-17 17:48:25 +02:00
parent 52de4cc476
commit 48279c1840
10 changed files with 18 additions and 14 deletions

View File

@ -29,7 +29,7 @@ public:
virtual void SetMode(u32 mode) { s_opengl_mode = GLInterfaceMode::MODE_OPENGL; }
virtual u32 GetMode() { return s_opengl_mode; }
virtual void* GetFuncAddress(const std::string& name) { return nullptr; }
virtual bool Create(void *window_handle) { return true; }
virtual bool Create(void *window_handle, bool core = true) { return true; }
virtual bool MakeCurrent() { return true; }
virtual bool ClearCurrent() { return true; }
virtual void Shutdown() {}