mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 1219027. Fix unbinding transformfeedback when deleting it. r=djg
I believe this was the original intention of the code. This fixes deletion conformance tests.
This commit is contained in:
parent
53e0c67402
commit
39da8cb22b
@ -41,7 +41,7 @@ WebGL2Context::DeleteTransformFeedback(WebGLTransformFeedback* tf)
|
||||
return;
|
||||
|
||||
if (mBoundTransformFeedback == tf)
|
||||
BindTransformFeedback(LOCAL_GL_TRANSFORM_FEEDBACK, tf);
|
||||
BindTransformFeedback(LOCAL_GL_TRANSFORM_FEEDBACK, nullptr);
|
||||
|
||||
tf->RequestDelete();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user