Fix some warnings

This commit is contained in:
Jérôme Leclercq
2020-09-03 16:33:49 +02:00
parent 0255541b44
commit 951642ecb4
2 changed files with 6 additions and 7 deletions

View File

@@ -16,16 +16,15 @@ namespace Nz::GL
{
public:
using EGLContextBase::EGLContextBase;
EGLContextX11(const EGLContextX11&) = default;
EGLContextX11(EGLContextX11&&) = default;
EGLContextX11(const EGLContextX11&) = delete;
EGLContextX11(EGLContextX11&&) = delete;
~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;
EGLContextX11& operator=(const EGLContextX11&) = delete;
EGLContextX11& operator=(EGLContextX11&&) = delete;
private:
::Display* m_xdisplay = nullptr;