Fix program and shader lifetime cycle

This commit is contained in:
Anthony Ramine 2018-07-27 13:12:25 +02:00
parent 43463e80cb
commit a0fc4c9832
5 changed files with 80 additions and 64 deletions

View file

@ -1,4 +0,0 @@
[object-deletion-behaviour.html]
[WebGL test #17: gl.isProgram(program) should be true. Was false.]
expected: FAIL

View file

@ -1,13 +0,0 @@
[program-test.html]
[WebGL test #64: getError expected: NO_ERROR. Was INVALID_OPERATION : delete the current program shouldn't change the current rendering state]
expected: FAIL
[WebGL test #65: getError expected: NO_ERROR. Was INVALID_OPERATION : The current program shouldn't be deleted]
expected: FAIL
[WebGL test #69: an attached shader shouldn't be deleted]
expected: FAIL
[WebGL test #70: getError expected: INVALID_VALUE. Was INVALID_OPERATION : a delete-marked program should be deleted once it's no longer the current program]
expected: FAIL