From: Ian Romanick <[email protected]>

Why was gluOrtho2D ever even a function?!?

Signed-off-by: Ian Romanick <[email protected]>
---
 tests/glean/tfbo.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/glean/tfbo.cpp b/tests/glean/tfbo.cpp
index eb3092e..eb66af4 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);
-- 
2.1.0

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to