1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 09:05:19 +02: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
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
{