瀏覽代碼

small fix

Marc-Sefan Cassola 6 年之前
父節點
當前提交
5082ece88e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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