Remove GLX support

EGL is the de-facto GL context initialization API, including on X11
where it provides many additional features over GLX.

I’m planning on adding support for selecting the GPU (adapter in
Dolphin-speak) also to OpenGL, similarly to the Vulkan backend, and that
will require EGL, so let’s remove the legacy API first.
This commit is contained in:
Link Mauve committed 2026-04-20 16:19:45 +02:00
1 parent 914f5c5621
commit fc47091592
6 files changed
+6 -396

No files matched your search

+1 -2
View File
@@ -47,8 +47,7 @@ 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 prefer_egl = false,
bool prefer_gles = false);
bool core = true, bool prefer_gles = false);
protected:
virtual bool Initialize(const WindowSystemInfo& wsi, bool stereo, bool core);