Remove currently unused wxGLContext::m_glContext

No real changes, just remove unused private field.
This commit is contained in:
Vadim Zeitlin
2021-01-27 18:41:06 +01:00
parent 98e4f910a5
commit d046a8fbc6
2 changed files with 0 additions and 4 deletions

View File

@@ -24,9 +24,6 @@ public:
virtual bool SetCurrent(const wxGLCanvas& win) const wxOVERRIDE; virtual bool SetCurrent(const wxGLCanvas& win) const wxOVERRIDE;
private:
QGLContext *m_glContext;
wxDECLARE_CLASS(wxGLContext); wxDECLARE_CLASS(wxGLContext);
}; };

View File

@@ -338,7 +338,6 @@ wxIMPLEMENT_CLASS(wxGLContext, wxWindow);
wxGLContext::wxGLContext(wxGLCanvas *WXUNUSED(win), const wxGLContext* WXUNUSED(other), const wxGLContextAttrs *WXUNUSED(ctxAttrs)) wxGLContext::wxGLContext(wxGLCanvas *WXUNUSED(win), const wxGLContext* WXUNUSED(other), const wxGLContextAttrs *WXUNUSED(ctxAttrs))
{ {
// m_glContext = win->GetHandle()->context();
} }
bool wxGLContext::SetCurrent(const wxGLCanvas&) const bool wxGLContext::SetCurrent(const wxGLCanvas&) const