Commit 2ef6a7d5 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'featureSeparateGlew' into 'master'

separate opengl functions

See merge request !2
parents 7cd7dcb5 50a9bb66
......@@ -46,14 +46,14 @@
* $Date$ *
* *
\*===========================================================================*/
#include "QtWidgetNode.hh"
#include <QGLWidget>
#include <ACG/GL/acg_glew.hh>
#include "QtWidgetNode.hh"
#include <ACG/Geometry/Types/PlaneT.hh>
#include <ACG/Utils/ImageConversion.hh>
#include <QApplication>
#include <QGLWidget>
//== NAMESPACES ===============================================================
......@@ -233,7 +233,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