diff options
author | hwc487 | 2012-04-08 05:26:08 -0700 |
---|---|---|
committer | hwc487 | 2012-04-08 05:26:08 -0700 |
commit | 5b878fdfaa696c1a01afa191c1d65c0ccb006b65 (patch) | |
tree | ca9ae5497500a46edd00e0e61b8e49ae53242e4d /js/lib/rdge/materials/uber-material.js | |
parent | 416ce9d4954e0a7f4ee7b9afe43bf691fdb276f4 (diff) | |
download | ninja-5b878fdfaa696c1a01afa191c1d65c0ccb006b65.tar.gz |
Clouds
Diffstat (limited to 'js/lib/rdge/materials/uber-material.js')
-rwxr-xr-x | js/lib/rdge/materials/uber-material.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/rdge/materials/uber-material.js b/js/lib/rdge/materials/uber-material.js index 71354216..4edb101f 100755 --- a/js/lib/rdge/materials/uber-material.js +++ b/js/lib/rdge/materials/uber-material.js | |||
@@ -300,7 +300,7 @@ var UberMaterial = function UberMaterial() { | |||
300 | { | 300 | { |
301 | if (!this._diffuseTexture.isAnimated()) | 301 | if (!this._diffuseTexture.isAnimated()) |
302 | { | 302 | { |
303 | this._diffuseTexture.rerender(); | 303 | this._diffuseTexture.render(); |
304 | var tex = this._diffuseTexture.getTexture(); | 304 | var tex = this._diffuseTexture.getTexture(); |
305 | technique.s_diffuseMap.set( tex ); | 305 | technique.s_diffuseMap.set( tex ); |
306 | } | 306 | } |
@@ -412,7 +412,7 @@ var UberMaterial = function UberMaterial() { | |||
412 | { | 412 | { |
413 | if (this._diffuseTexture && this._diffuseTexture.isAnimated()) | 413 | if (this._diffuseTexture && this._diffuseTexture.isAnimated()) |
414 | { | 414 | { |
415 | this._diffuseTexture.rerender(); | 415 | this._diffuseTexture.render(); |
416 | technique.s_diffuseMap.set( this._diffuseTexture.getTexture() ); | 416 | technique.s_diffuseMap.set( this._diffuseTexture.getTexture() ); |
417 | } | 417 | } |
418 | } | 418 | } |