diff options
author | Jason Green <jason@transgaming.com> | 2014-05-27 15:51:54 -0500 |
---|---|---|
committer | Jason Green <jason@transgaming.com> | 2014-05-28 15:45:24 -0500 |
commit | 2bafe8167cf4af7318b0b7183bad993d4ae45fd0 (patch) | |
tree | 0b7e1f1d83bbd55fa3059517f33ae9f2f15ea2fe /tests/test_browser.py | |
parent | 5d22fa213f7ec66426e2a838b07a38802714dcef (diff) |
glTex[Sub]Image* should not throw an exception, but should cause a GL_INVALID_ENUM error on unrecognized formats or types
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 aedc926a..c8e07b25 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -1425,6 +1425,9 @@ keydown(100);keyup(100); // trigger the end def test_sdlglshader(self): self.btest('sdlglshader.c', reference='sdlglshader.png', args=['-O2', '--closure', '1', '-s', 'LEGACY_GL_EMULATION=1']) + def test_gl_glteximage(self): + self.btest('gl_teximage.c', '1') + def test_gl_ps(self): # pointers and a shader shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png')) |