mirror of
https://github.com/servo/servo.git
synced 2025-09-08 05:58:20 +01:00
webgl: Remove objects from binding points on object deletion.
We keep bindings that shadow what's mapped in the GL state currently, and so we need to remove the objects from our binding points when they get implicitly removed from the GL binding points during object deletion.
This commit is contained in:
parent
6ec2c41df8
commit
db9fe23903
2 changed files with 24 additions and 8 deletions
|
@ -68,9 +68,6 @@
|
|||
[WebGL test #48: getError expected: NO_ERROR. Was INVALID_ENUM : after evaluating: gl.bindTexture(gl.TEXTURE_2D, t)]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #52: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE)]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #56: gl.getParameter(gl.TEXTURE_BINDING_2D) should be [object WebGLTexture\]. Was null.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue