diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-06-12 20:06:02 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-06-12 20:06:02 -0400 |
commit | ed9347948a516bb7c4d3371bf57c77971240534d (patch) | |
tree | 5171b22e06d6e913607aea423bb6bde4a7056aed /tests/runner.py | |
parent | 57fa1f9b4affabe5486618e17eb4779bc1f7f6c7 (diff) |
Initialize the projection and modelview matrices to identity
This is required by the spec. Without this change, the testcase in this
patch merely renders the background, and the box in the upper right
corner will not get rendered at all.
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index c8e3de37..20034f95 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7654,6 +7654,9 @@ elif 'browser' in str(sys.argv): shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png')) self.btest('gl_ps.c', reference='gl_ps.png', args=['--preload-file', 'screenshot.png']) + def test_matrix_identity(self): + self.btest('gl_matrix_identity.c', expected='-1882984448') + def test_cubegeom_pre(self): self.btest('cubegeom_pre.c', expected='-1472804742') |