зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
53e0c67402
Коммит
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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче