diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-08-10 14:53:18 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-08-10 14:57:10 (GMT) |
commit | 4e626903d0f6df00fa83c18061a12cb3a5dbd603 (patch) | |
tree | 217cf0d8c9f1b007257736e064d3d3496459279a /src/3rdparty/phonon | |
parent | ca8d92f1d30b1519ccbfdab44e3868e9556b3fb5 (diff) | |
download | Qt-4e626903d0f6df00fa83c18061a12cb3a5dbd603.zip Qt-4e626903d0f6df00fa83c18061a12cb3a5dbd603.tar.gz Qt-4e626903d0f6df00fa83c18061a12cb3a5dbd603.tar.bz2 |
Replace gluOrtho2d with glOrtho.
GLU dependency was removed in commit:
c67b4cac2e53ae77c4e16487838c17be85e73aa3, so instead of using gluOrtho2d
we simply use glOrtho with near=-1 and far=1.
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r-- | src/3rdparty/phonon/qt7/videowidget.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/qt7/videowidget.mm b/src/3rdparty/phonon/qt7/videowidget.mm index 736dcdf..c281e16 100644 --- a/src/3rdparty/phonon/qt7/videowidget.mm +++ b/src/3rdparty/phonon/qt7/videowidget.mm @@ -278,7 +278,7 @@ public: glMatrixMode(GL_PROJECTION); glLoadIdentity(); glViewport(0, 0, GLsizei(w), GLsizei(h)); - gluOrtho2D(0, GLsizei(w), 0, GLsizei(h)); + glOrtho(0, GLsizei(w), 0, GLsizei(h), -1, 1); updateGL(); } |