summaryrefslogtreecommitdiffstats
path: root/examples/opengl/qopenglwindow/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/qopenglwindow/main.cpp')
-rw-r--r--examples/opengl/qopenglwindow/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/qopenglwindow/main.cpp b/examples/opengl/qopenglwindow/main.cpp
index bf95d09ecd..996feb5e96 100644
--- a/examples/opengl/qopenglwindow/main.cpp
+++ b/examples/opengl/qopenglwindow/main.cpp
@@ -97,7 +97,7 @@ private:
// typical in pure QWindow-based applications.
OpenGLWindow::OpenGLWindow()
: QOpenGLWindow(QOpenGLWindow::NoPartialUpdate)
- , m_fragment_toy("background.frag")
+ , m_fragment_toy("./background.frag")
, m_text_layout("The triangle and this text is rendered with QPainter")
, m_animate(true)
{