glViewport(0, 0, 1, 1) Error: GL_INVALID_OPERATION Context: 0x7f88a3021e00 Virtual Screen: 0/2 kCGLCPCurrentRendererID: 16915206 (0x01021b06) GL_RENDERER: AMD Radeon HD 6750M OpenGL Engine GL_VENDOR: ATI Technologies Inc. GL_VERSION: 4.1 ATI-1.24.38 kCGLCPGPUFragmentProcessing: GL_TRUE kCGLCPGPUVertexProcessing: GL_TRUE Function call stack: 0: 0x7fff97bbb94e in -[NSOpenGLContext(NSOpenGLContextInternal) _updateOpenGLViewport] in 1: 0x10438308f in QCocoaGLContext::makeCurrent(QPlatformSurface*) in 2: 0x10178858a in QOpenGLContext::makeCurrent(QSurface*) in 3: 0x1010f702e in QOpenGLWidgetPrivate::render() in 4: 0x1010d6c0b in QWidget::event(QEvent*) in 5: 0x10109732b in QApplicationPrivate::notify_helper(QObject*, QEvent*) in 6: 0x10109a648 in QApplication::notify(QObject*, QEvent*) in 7: 0x101f17d83 in QCoreApplication::notifyInternal(QObject*, QEvent*) in 8: 0x1010d0370 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) in 9: 0x1010d0c9a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) in 10: 0x1010d0700 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) in 11: 0x1010a3d0f in QWidgetBackingStore::doSync() in 12: 0x1010a2cd6 in QWidgetBackingStore::sync(QWidget*, QRegion const&) in 13: 0x1010f0e58 in QWidgetWindow::event(QEvent*) in 14: 0x10109732b in QApplicationPrivate::notify_helper(QObject*, QEvent*) in 15: 0x10109a648 in QApplication::notify(QObject*, QEvent*) in 16: 0x101f17d83 in QCoreApplication::notifyInternal(QObject*, QEvent*) in 17: 0x10175132d in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) in 18: 0x10174d100 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) in 19: 0x10173a2da in QWindowSystemInterface::sendWindowSystemEvents(QFlags) in 20: 0x104357411 in QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) in 21: 0x7fff8efab5b1 in _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ in 22: 0x7fff8ef9cc62 in _CFRunLoopDoSources0 in 23: 0x7fff8ef9c3ef in _CFRunLoopRun in 24: 0x7fff8ef9be75 in CFRunLoopRunSpecific in 25: 0x7fff93e34a0d in RunCurrentEventLoopInMode in 26: 0x7fff93e347b7 in ReceiveNextEventCommon in 27: 0x7fff93e345bc in BlockUntilNextEventMatchingListInModeWithFilter in 28: 0x7fff9789b24e in DPSNextEvent in 29: 0x7fff9789a89b in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] in 30: 0x7fff9788e99c in -[NSApplication run] in 31: 0x1043562fd in QCocoaEventDispatcher::processEvents(QFlags) in 32: 0x101f1537d in QEventLoop::exec(QFlags) in 33: 0x101f1835a in QCoreApplication::exec() in 34: 0x101059799 in main at main.cpp: 33 35: 0x101059344 in start in