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

@ -17,7 +17,7 @@ private:
NSOpenGLContext *cocoaCtx;
public:
void Swap();
bool Create(void *window_handle);
bool Create(void *window_handle, bool core);
bool MakeCurrent();
bool ClearCurrent();
void Shutdown();