Commit 41049dfe authored by ledig's avatar ledig
Browse files

[SEPERATION] QGLWidget in Linux and QWidget in Win as parent for WQtGLWidget

parent 90bd3466
......@@ -39,8 +39,11 @@
WQtGLWidget::WQtGLWidget( std::string nameOfViewer, QWidget* parent, WGECamera::ProjectionMode projectionMode )
#ifdef _WIN32
: QWidget( parent ),
// : QGLWidget( parent ),
#else
: QGLWidget( parent ),
#endif
m_nameOfViewer( nameOfViewer ),
m_recommendedSize(),
m_isInitialized( new WConditionOneShot(), false ),
......
......@@ -44,8 +44,12 @@ class WColor;
* engine.
* \ingroup gui
*/
class WQtGLWidget: public QWidget
//class WQtGLWidget: public QGLWidget
class WQtGLWidget
#ifdef _WIN32
: public QWidget
#else
: public QGLWidget
#endif
{
public:
/**
......
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