aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge
diff options
context:
space:
mode:
authorhwc4872012-03-16 15:32:23 -0700
committerhwc4872012-03-16 15:32:23 -0700
commit43ea2515f1482eeb77454f407111f0568c056f72 (patch)
tree25c1d3ee3fefb8b9276efadd3e089c5620e979b7 /js/lib/rdge
parent55b2231d7badec16990b63ef1b6c770ef1e6fc25 (diff)
downloadninja-43ea2515f1482eeb77454f407111f0568c056f72.tar.gz
removing dead code
Diffstat (limited to 'js/lib/rdge')
-rw-r--r--js/lib/rdge/materials/pulse-material.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/lib/rdge/materials/pulse-material.js b/js/lib/rdge/materials/pulse-material.js
index 1e2cd2a9..6f19ab2b 100644
--- a/js/lib/rdge/materials/pulse-material.js
+++ b/js/lib/rdge/materials/pulse-material.js
@@ -125,18 +125,6 @@ var PulseMaterial = function PulseMaterial() {
125 var texMapName = this._propValues[this._propNames[0]]; 125 var texMapName = this._propValues[this._propNames[0]];
126 var wrap = 'REPEAT', mips = true; 126 var wrap = 'REPEAT', mips = true;
127 var tex = this.loadTexture( texMapName, wrap, mips ); 127 var tex = this.loadTexture( texMapName, wrap, mips );
128
129 /*
130 var glTex = new GLTexture( this.getWorld() );
131 var prevWorld = this.findPreviousWorld();
132 if (prevWorld)
133 {
134 var srcCanvas = prevWorld.getCanvas();
135 tex = glTex.loadFromCanvas( srcCanvas );
136 }
137 else
138 tex = glTex.loadFromFile( texMapName, wrap, mips );
139 */
140 128
141 if (tex) { 129 if (tex) {
142 technique.u_tex0.set( tex ); 130 technique.u_tex0.set( tex );