Fixing cleanup of glwindow

This commit is contained in:
Brad Davis 2015-07-28 16:29:12 -07:00
parent 3ecc292e16
commit e109bd42d2
2 changed files with 0 additions and 7 deletions

View file

@ -32,10 +32,6 @@ GlWindow::~GlWindow() {
_context = nullptr;
}
bool GlWindow::event(QEvent * ev) {
return QWindow::event(ev);
}
bool GlWindow::makeCurrent() {
bool makeCurrentResult = _context->makeCurrent(this);
Q_ASSERT(makeCurrentResult);

View file

@ -28,9 +28,6 @@ public:
private:
std::once_flag _reportOnce;
QOpenGLContext* _context{ nullptr };
#ifdef DEBUG
QOpenGLDebugLogger* _logger{ nullptr };
#endif
};
#endif