Mercurial > hg > orthanc-stone
view Samples/Qt/QStoneOpenGlWidget.cpp @ 873:78f4317eb94b am-dev
fix compil
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 01 Jul 2019 18:18:58 +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(); }