You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebGLRenderer: Fixed readRenderTargetPixelsAsync checking readability against incorrect render target (#30672)
* WebGLRenderer: Fixed readRenderTargetPixelsAsync checking readability against incorrect render target
readRenderTargetPixelsAsync was checking if the render target was readable before binding the render target to active framebuffer.
This resulted in the texture readability check occurring on the previously set framebuffer and not the render target we are reading pixels from.
* lint fix
* Removed redundant call to setRenderTarget
0 commit comments