[Piglit] [PATCH 07/25] arb_direct_state_access: Delete MVP matrix set up from texunits

Ian Romanick idr at freedesktop.org
Mon May 18 13:50:00 PDT 2015


From: Ian Romanick <ian.d.romanick at intel.com>

There is no drawing in this test, so nothing depends on this.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 tests/spec/arb_direct_state_access/texunits.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/spec/arb_direct_state_access/texunits.c b/tests/spec/arb_direct_state_access/texunits.c
index d4710e3..a5c74b6 100644
--- a/tests/spec/arb_direct_state_access/texunits.c
+++ b/tests/spec/arb_direct_state_access/texunits.c
@@ -348,10 +348,4 @@ piglit_init(int argc, char *argv[])
    }
 
    generate_random_numbers();
-
-   glMatrixMode(GL_PROJECTION);
-   glLoadIdentity();
-   glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
-   glMatrixMode(GL_MODELVIEW);
-   glLoadIdentity();
 }
-- 
2.1.0



More information about the Piglit mailing list