Browse Source

small fix

Marc-Sefan Cassola 6 years ago
parent
commit
5082ece88e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/WebGLRenderer.js

+ 1 - 1
src/renderers/WebGLRenderer.js

@@ -1160,7 +1160,7 @@ function WebGLRenderer( parameters ) {
 
 		//
 
-		if ( _currentRenderTarget ) {
+		if ( _currentRenderTarget !== null ) {
 
 			// Generate mipmap if we're using any kind of mipmap filtering