summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-09-21 16:57:57 -0700
committerIan Romanick <ian.d.romanick@intel.com>2015-09-29 14:33:56 -0700
commit2d7c24d95f228bed757b603ad4868e0a1c36bd56 (patch)
tree4a19edd44264d6e528ba8d22bf3ac55c9b339699
parent10f372d50dd509e41b70892fb88f08183cbe4cff (diff)
glean: Replace gluOrtho2D with plain glOrtho
Why was gluOrtho2D ever even a function?!? Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Thanked-by: Kristian Høgsberg <krh@bitplanet.net>
-rw-r--r--tests/glean/tfbo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glean/tfbo.cpp b/tests/glean/tfbo.cpp
index eb3092e30..eb66af40c 100644
--- a/tests/glean/tfbo.cpp
+++ b/tests/glean/tfbo.cpp
@@ -53,7 +53,7 @@ FBOTest::setup(void)
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- gluOrtho2D(0, 100, 0, 100);
+ glOrtho(0, 100, 0, 100, -1, 1);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glDrawBuffer(GL_FRONT);