diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-15 09:49:30 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-24 06:43:54 (GMT) |
commit | 3ab7dc5d764d41bf828dd76672ca2918b004bad3 (patch) | |
tree | cff56f4c9dd052c8623f69368b2cdc41526d1cb2 /demos/qtdemo/mainwindow.cpp | |
parent | 5423ba187c62ea861ccfcc013fb15fcc4a5ae28d (diff) | |
download | Qt-3ab7dc5d764d41bf828dd76672ca2918b004bad3.zip Qt-3ab7dc5d764d41bf828dd76672ca2918b004bad3.tar.gz Qt-3ab7dc5d764d41bf828dd76672ca2918b004bad3.tar.bz2 |
Remove the Direct3D engine.
Diffstat (limited to 'demos/qtdemo/mainwindow.cpp')
-rw-r--r-- | demos/qtdemo/mainwindow.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/demos/qtdemo/mainwindow.cpp b/demos/qtdemo/mainwindow.cpp index 8723823..151fa5c 100644 --- a/demos/qtdemo/mainwindow.cpp +++ b/demos/qtdemo/mainwindow.cpp @@ -100,12 +100,6 @@ void MainWindow::setRenderingSystem() { QWidget *viewport = 0; - if (Colors::direct3dRendering){ - viewport->setAttribute(Qt::WA_MSWindowsUseDirect3D); - setCacheMode(QGraphicsView::CacheNone); - if (Colors::verbose) - qDebug() << "- using Direct3D"; - } #ifndef QT_NO_OPENGL else if (Colors::openGlRendering){ QGLWidget *glw = new QGLWidget(QGLFormat(QGL::SampleBuffers)); @@ -389,8 +383,6 @@ void MainWindow::keyPressEvent(QKeyEvent *event) s += "Rendering system: "; if (Colors::openGlRendering) s += "OpenGL"; - else if (Colors::direct3dRendering) - s += "Direct3D"; else s += "software"; |