Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Nov 20, 2018

Fixes: #15248

This PR introduces a new function resizeImage() in WebGLTextures that combines the logic of clampToMaxSize() and makePowerOfTwo() in order to resize an image just once.

@makc I've tested the PR with many examples but I would appreciate if you can verify the changes with some tests.

In any event, it's probably best to merge this PR at the beginning of a dev cycle. Just to be sure 😅

@mrdoob mrdoob added this to the r100 milestone Nov 20, 2018
@mrdoob mrdoob modified the milestones: r100, r101 Dec 31, 2018
@mrdoob mrdoob merged commit c9822c8 into mrdoob:dev Jan 10, 2019
@mrdoob
Copy link
Owner

mrdoob commented Jan 10, 2019

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.

2 participants