diff options
Diffstat (limited to 'examples/opengl/hellogl_es')
-rw-r--r-- | examples/opengl/hellogl_es/glwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/hellogl_es/glwindow.cpp b/examples/opengl/hellogl_es/glwindow.cpp index 6be4e63a20..d94d0d62cc 100644 --- a/examples/opengl/hellogl_es/glwindow.cpp +++ b/examples/opengl/hellogl_es/glwindow.cpp @@ -64,6 +64,8 @@ inline void Normalize(qreal &x, qreal &y, qreal &z) GLWindow::GLWindow() { + setSurfaceType(OpenGLSurface); + qtLogo = true; createdVertices = 0; createdNormals = 0; |