Bug 972620 - MakeCurrent during WebGL.hint(). - r=kamidphish

This commit is contained in:
Jeff Gilbert 2014-02-14 15:52:38 -08:00
parent 4f661c5d52
commit 4ec451bb78

View File

@ -1975,6 +1975,7 @@ WebGLContext::Hint(GLenum target, GLenum mode)
if (!isValid)
return ErrorInvalidEnum("hint: invalid hint");
MakeContextCurrent();
gl->fHint(target, mode);
}