GLInterface: Fix VideoSW on linux + OSX (v2)

Our Video Software backend isn't OpenGL Core compatible, so we need a flag to alloc a compatible one.

v2: Fix AGL profile selection.
This commit is contained in:
degasus
2015-09-17 17:48:25 +02:00
parent 9b08de9522
commit c976e14277
10 changed files with 18 additions and 14 deletions

View File

@ -26,7 +26,7 @@ public:
void Swap();
void SetMode(u32 mode) { s_opengl_mode = mode; }
void* GetFuncAddress(const std::string& name);
bool Create(void *window_handle);
bool Create(void *window_handle, bool core);
bool MakeCurrent();
bool ClearCurrent();
void Shutdown();