mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 972620 - MakeCurrent during WebGL.hint(). - r=kamidphish
This commit is contained in:
parent
4f661c5d52
commit
4ec451bb78
@ -1975,6 +1975,7 @@ WebGLContext::Hint(GLenum target, GLenum mode)
|
||||
if (!isValid)
|
||||
return ErrorInvalidEnum("hint: invalid hint");
|
||||
|
||||
MakeContextCurrent();
|
||||
gl->fHint(target, mode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user