Browse Source

small fix

Marc-Sefan Cassola 6 năm trước cách đây
mục cha
commit
5082ece88e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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