mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 763190 - WebGL readPixels shouldn't call EnsureBackbufferClearedAsNeeded - r=jgilbert
This commit is contained in:
parent
de4a33c534
commit
fa0ec2aecb
@ -3933,8 +3933,6 @@ WebGLContext::ReadPixels(WebGLint x, WebGLint y, WebGLsizei width,
|
||||
// prevent readback of arbitrary video memory through uninitialized renderbuffers!
|
||||
if (!mBoundFramebuffer->CheckAndInitializeRenderbuffers())
|
||||
return ErrorInvalidFramebufferOperation("readPixels: incomplete framebuffer");
|
||||
} else {
|
||||
EnsureBackbufferClearedAsNeeded();
|
||||
}
|
||||
// Now that the errors are out of the way, on to actually reading
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user