diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-11-16 16:57:24 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-11-16 22:00:46 +0000 |
commit | 03c1a6ac717e3c5693653a5e294214056bda970e (patch) | |
tree | ee2310c4c9eb32465089c16074a1dcefe3468acc /examples/opengl/legacy/hellogl/glwidget.cpp | |
parent | 33573bf7eac70e27fa839b890bed2cb6e7fc0793 (diff) |
Remove last traces of opengl es 1 support
Change-Id: I3f86d4892ec3235003d34fdcf3f093f1513c821f
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'examples/opengl/legacy/hellogl/glwidget.cpp')
-rw-r--r-- | examples/opengl/legacy/hellogl/glwidget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/opengl/legacy/hellogl/glwidget.cpp b/examples/opengl/legacy/hellogl/glwidget.cpp index 84daf074e2..22934136e5 100644 --- a/examples/opengl/legacy/hellogl/glwidget.cpp +++ b/examples/opengl/legacy/hellogl/glwidget.cpp @@ -177,11 +177,7 @@ void GLWidget::resizeGL(int width, int height) glMatrixMode(GL_PROJECTION); glLoadIdentity(); -#ifdef QT_OPENGL_ES_1 - glOrthof(-0.5, +0.5, -0.5, +0.5, 4.0, 15.0); -#else glOrtho(-0.5, +0.5, -0.5, +0.5, 4.0, 15.0); -#endif glMatrixMode(GL_MODELVIEW); } //! [8] |