Skip to content
Snippets Groups Projects
Commit 2ef6a7d5 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'featureSeparateGlew' into 'master'

separate opengl functions

See merge request !2
parents 7cd7dcb5 50a9bb66
No related branches found
No related tags found
1 merge request!2separate opengl functions
......@@ -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_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment