Bug 1267100 - add makeCurrent() for WebGLContext::GetFramebufferAttachmentParameter(). r=jgilbert
This commit is contained in:
@@ -746,6 +746,8 @@ WebGLContext::GetFramebufferAttachmentParameter(JSContext* cx,
|
||||
MOZ_CRASH("Bad target.");
|
||||
}
|
||||
|
||||
MakeContextCurrent();
|
||||
|
||||
if (fb)
|
||||
return fb->GetAttachmentParameter(funcName, cx, target, attachment, pname, &rv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user