OpenGLContextEGL: Fix X11+platform base combination

This commit is contained in:
Stenzek
2024-02-29 20:03:40 +10:00
parent f936a36c85
commit edeaaebc7d
6 changed files with 80 additions and 96 deletions

View File

@@ -20,8 +20,8 @@ public:
void ResizeSurface(u32 new_surface_width = 0, u32 new_surface_height = 0) override;
protected:
EGLDisplay GetPlatformDisplay(const EGLAttrib* attribs, Error* error) override;
EGLSurface CreatePlatformSurface(EGLConfig config, const EGLAttrib* attribs, Error* error) override;
EGLDisplay GetPlatformDisplay(Error* error) override;
EGLSurface CreatePlatformSurface(EGLConfig config, void* win, Error* error) override;
private:
bool LoadModule(Error* error);