Closed hansagames closed 2 years ago
Ok my assumption was wrong as it applies texture params only if they are not same as state, so would say at init state should be undefined or null, so on first render it would be applied
Yeah so I set the initial state to match the GL defaults, so that when it's first updated, it will only update those which differ from the defaults
Hi, just curious if this is correct:
src/core/Texture.js
How it is now:
Should not be values that are passed as parameters ?
as state is used as cache here, but maybe I am missing something