Remove currently unused wxGLContext::m_glContext
No real changes, just remove unused private field.
This commit is contained in:
@@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user