Changeset 12473 for trunk


Ignore:
Timestamp:
11/09/11 17:02:43 (13 years ago)
Author:
lyard
Message:
force gl1.0 and indirect rendering
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/BasicGlCamera.cc

    r12412 r12473  
    3434
    3535
    36     BasicGlCamera::BasicGlCamera(QWidget* cParent) : QGLWidget(cParent)
    37     {
    38         setFormat(QGLFormat(QGL::DoubleBuffer | QGL::DepthBuffer));
     36    BasicGlCamera::BasicGlCamera(QWidget* cParent)
     37    : QGLWidget(QGLFormat(QGL::DoubleBuffer |
     38                          QGL::DepthBuffer  |
     39                          QGL::IndirectRendering),cParent)
     40    {
     41        QGL::setPreferredPaintEngine(QPaintEngine::OpenGL);
    3942        fWhite = -1;
    4043        fWhitePatch = -1;
Note: See TracChangeset for help on using the changeset viewer.