From b614bd9f39f25b852d179e3b44b9343925f9fa1a Mon Sep 17 00:00:00 2001 From: xeolabs Date: Thu, 25 Jun 2015 01:11:15 +0200 Subject: [PATCH] Comment tidy ups --- src/core/display/chunks/flagsChunk.js | 1 + src/core/display/chunks/materialChunk.js | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/display/chunks/flagsChunk.js b/src/core/display/chunks/flagsChunk.js index 5457f756..a4c082e8 100644 --- a/src/core/display/chunks/flagsChunk.js +++ b/src/core/display/chunks/flagsChunk.js @@ -52,6 +52,7 @@ SceneJS_ChunkFactory.createChunkType({ // Entering a transparency bin gl.enable(gl.BLEND); + // gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA); gl.blendFunc(gl.SRC_ALPHA, gl.ONE); frameCtx.blendEnabled = true; diff --git a/src/core/display/chunks/materialChunk.js b/src/core/display/chunks/materialChunk.js index 404c8f71..a586fd93 100644 --- a/src/core/display/chunks/materialChunk.js +++ b/src/core/display/chunks/materialChunk.js @@ -1,6 +1,3 @@ -/** - * Create display state chunk type for draw render of material transform - */ SceneJS_ChunkFactory.createChunkType({ type: "material",