Commit 0a0b7e73 authored by Martin Schultz's avatar Martin Schultz

use image conversion wrapper

parent 755b04d8
......@@ -50,6 +50,7 @@
#include <ACG/GL/acg_glew.hh>
#include "QtWidgetNode.hh"
#include <ACG/Geometry/Types/PlaneT.hh>
#include <ACG/Utils/ImageConversion.hh>
#include <QApplication>
......@@ -233,7 +234,7 @@ void QtWidgetNode::createTexture()
widget_->installEventFilter(ef_);
QImage image = pix.toImage();
image = QGLWidget::convertToGLFormat( image );
image = ACG::Util::convertToGLFormat(image);// QGLWidget::convertToGLFormat( image );
// generate texture
if (!texID_)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment