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:
Jeff Muizelaar 2015-10-27 18:01:29 -04:00
parent 53e0c67402
commit 39da8cb22b

View File

@ -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();
}