OpenGLRenderer: Try to fix EGLContext sharing with X11
This commit is contained in:
@@ -20,11 +20,15 @@ namespace Nz::GL
|
||||
EGLContextX11(EGLContextX11&&) = default;
|
||||
~EGLContextX11() = default;
|
||||
|
||||
bool Create(const ContextParams& params, const EGLContextBase* shareContext = nullptr) override;
|
||||
bool Create(const ContextParams& params, WindowHandle window, const EGLContextBase* shareContext = nullptr) override;
|
||||
void Destroy() override;
|
||||
|
||||
EGLContextX11& operator=(const EGLContextX11&) = default;
|
||||
EGLContextX11& operator=(EGLContextX11&&) = default;
|
||||
|
||||
private:
|
||||
::Display* m_xdisplay = nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user