Mercurial > hg > orthanc-stone
view Samples/Qt/QStoneOpenGlWidget.cpp @ 874:debb70fa10b5 am-dev
correct handling of deleted observers in OrthancApiClient
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 03 Jul 2019 10:11:22 +0200 |
parents | 23701fbf228e |
children | 12b591d5d63c |
line wrap: on
line source
#include "../../Framework/OpenGL/OpenGLIncludes.h" #include "QStoneOpenGlWidget.h" void QStoneOpenGlWidget::initializeGL() { glewInit(); } void QStoneOpenGlWidget::MakeCurrent() { this->makeCurrent(); } void QStoneOpenGlWidget::resizeGL(int w, int h) { } void QStoneOpenGlWidget::paintGL() { if (compositor_) { compositor_->Refresh(); } doneCurrent(); }