Skip to content

Commit

Permalink
Update WebGLTextures.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Nov 20, 2021
1 parent 64b25a1 commit 3c2e417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgl/WebGLTextures.js
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,

const levels = getMipLevels( texture, image, supportsMips );
const useTexStorage = ( isWebGL2 && texture.isVideoTexture !== true );
const allocateMemory = ( texture.version === 1 );
const allocateMemory = ( textureProperties.__version === undefined );

if ( mipmaps.length > 0 && supportsMips ) {

Expand Down

0 comments on commit 3c2e417

Please sign in to comment.