pex-gl / pex-context

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
http://pex-gl.github.io/pex-context/
MIT License
160 stars 12 forks source link

Wrap doesn't work when updating texture #92

Closed vorg closed 2 years ago

vorg commented 3 years ago

The opts.wrap should be before texture.wrapS otherwise default wrapping set when creating texture will always win opts.wrapS || texture.wrapS || opts.wrap || texture.wrap