diff options
author | Michael J. Bishop <mbtyke@gmail.com> | 2013-09-04 11:42:16 -0400 |
---|---|---|
committer | Michael J. Bishop <mbtyke@gmail.com> | 2013-09-04 11:47:36 -0400 |
commit | 61534f218715a78e5e142437d5d295035d441183 (patch) | |
tree | 52909ed5b672c107115eab4d98464096cd2d10a7 /tests/test_browser.py | |
parent | b872b8a299b43df0bcd8150aa4c4836fe6213e6c (diff) |
Added test which shows broken GL emulation when:
1. Binding to a VertexObjectBuffer and calling `glDrawArrays` on two
different sections of it.
2. Using `glVertexPointer` with actual pointer to a vertex array
and calling `glDrawArrays` on two different sections of it.
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r-- | tests/test_browser.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py index 32b29966..a35ce177 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -1204,6 +1204,9 @@ If manually bisecting: def test_gl_stride(self): self.btest('gl_stride.c', reference='gl_stride.png', args=['-s', 'GL_UNSAFE_OPTS=0', '-s', 'LEGACY_GL_EMULATION=1']) + def test_gl_vertex_buffer(self): + self.btest('gl_vertex_buffer.c', reference='gl_vertex_buffer.png', args=['-s', 'GL_UNSAFE_OPTS=0', '-s', 'LEGACY_GL_EMULATION=1']) + def test_matrix_identity(self): self.btest('gl_matrix_identity.c', expected=['-1882984448', '460451840'], args=['-s', 'LEGACY_GL_EMULATION=1']) |