summaryrefslogtreecommitdiffstats
path: root/examples/opengl/legacy/overpainting/glwidget.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-08-06 12:24:37 +0200
committerLars Knoll <lars.knoll@qt.io>2019-08-06 12:24:37 +0200
commit6f357f50b4b72e3c5a6903a09624ade1d72d12c1 (patch)
treea7c39b76c99f4887dbc6837be3a41afc7fdb29b4 /examples/opengl/legacy/overpainting/glwidget.cpp
parent7301e44161d8bb25410219a31405584c9492b83e (diff)
parent3183e428a95c95e5047dd12fbf2b6388aa7698fb (diff)
Merge remote-tracking branch 'origin/dev' into wip/qt6
Diffstat (limited to 'examples/opengl/legacy/overpainting/glwidget.cpp')
-rw-r--r--examples/opengl/legacy/overpainting/glwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/legacy/overpainting/glwidget.cpp b/examples/opengl/legacy/overpainting/glwidget.cpp
index 0094f8ead7..c4558ce785 100644
--- a/examples/opengl/legacy/overpainting/glwidget.cpp
+++ b/examples/opengl/legacy/overpainting/glwidget.cpp
@@ -130,7 +130,7 @@ void GLWidget::initializeGL()
glEnable(GL_MULTISAMPLE);
logo = new QtLogo(this);
- logo->setColor(qtGreen.dark());
+ logo->setColor(qtGreen.darker());
}
//! [2]
@@ -163,7 +163,7 @@ void GLWidget::paintEvent(QPaintEvent *event)
//! [4]
//! [6]
- qglClearColor(qtPurple.dark());
+ qglClearColor(qtPurple.darker());
glShadeModel(GL_SMOOTH);
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);