1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Revert "Use EGL over GLX" (#15315)

This reverts commit aa273119f2.
This commit is contained in:
sfan5 2024-10-24 17:52:06 +02:00 committed by GitHub
parent e441b5d240
commit 2d135cc1bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 539 additions and 127 deletions

View file

@ -31,10 +31,6 @@ public:
aren't create. */
bool initialize(const SIrrlichtCreationParameters &params, const SExposedVideoData &data) override;
// Set EGL window.
// Call this if window is not known at time of initialize()
void setWindow(const SExposedVideoData &data);
// Terminate EGL.
/* Terminate EGL context. This method break both existed surface and context. */
void terminate() override;
@ -70,9 +66,6 @@ public:
// Swap buffers.
bool swapBuffers() override;
// Returns native visual ID. Will choose config if not already done.
EGLint getNativeVisualID();
protected:
enum EConfigStyle
{