Skip to content

Conversation

@takahirox
Copy link
Collaborator

This PR fixes WebGLRenderer.copyTextureToTexture(). If pixels isn't ArrayBufferView, gl.texSubImage2D() doesn't take width and height arguments.

https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D

@mrdoob mrdoob requested a review from Mugen87 April 27, 2018 05:26
@mrdoob mrdoob added this to the r93 milestone Apr 27, 2018
@mrdoob mrdoob merged commit 70c68fb into mrdoob:dev Apr 28, 2018
@mrdoob
Copy link
Owner

mrdoob commented Apr 28, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants