From d046a8fbc69b36f9ab42ebfe5f9414894d70ea8a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 Jan 2021 18:41:06 +0100 Subject: [PATCH] Remove currently unused wxGLContext::m_glContext No real changes, just remove unused private field. --- include/wx/qt/glcanvas.h | 3 --- src/qt/glcanvas.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/include/wx/qt/glcanvas.h b/include/wx/qt/glcanvas.h index 08fc13b887..c08889e125 100644 --- a/include/wx/qt/glcanvas.h +++ b/include/wx/qt/glcanvas.h @@ -24,9 +24,6 @@ public: virtual bool SetCurrent(const wxGLCanvas& win) const wxOVERRIDE; -private: - QGLContext *m_glContext; - wxDECLARE_CLASS(wxGLContext); }; diff --git a/src/qt/glcanvas.cpp b/src/qt/glcanvas.cpp index 3ee0275868..5713a57f8a 100644 --- a/src/qt/glcanvas.cpp +++ b/src/qt/glcanvas.cpp @@ -338,7 +338,6 @@ wxIMPLEMENT_CLASS(wxGLContext, wxWindow); wxGLContext::wxGLContext(wxGLCanvas *WXUNUSED(win), const wxGLContext* WXUNUSED(other), const wxGLContextAttrs *WXUNUSED(ctxAttrs)) { -// m_glContext = win->GetHandle()->context(); } bool wxGLContext::SetCurrent(const wxGLCanvas&) const