mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
GLContext: Runtime selection of EGL/GLX on Linux
This commit is contained in:
@ -46,7 +46,8 @@ public:
|
||||
// Creates an instance of GLContext specific to the platform we are running on.
|
||||
// If successful, the context is made current on the calling thread.
|
||||
static std::unique_ptr<GLContext> Create(const WindowSystemInfo& wsi, bool stereo = false,
|
||||
bool core = true);
|
||||
bool core = true, bool prefer_egl = false,
|
||||
bool prefer_gles = false);
|
||||
|
||||
protected:
|
||||
virtual bool Initialize(void* display_handle, void* window_handle, bool stereo, bool core);
|
||||
|
Reference in New Issue
Block a user