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

Release texture data after upload to gpu #42

Closed vorg closed 5 years ago

vorg commented 6 years ago

This line should be removed https://github.com/pex-gl/pex-context/blob/master/texture.js#L210

vorg commented 5 years ago

Texture data is no longer assigned to texture object and hence not kept around.