diff options
author | hwc487 | 2012-06-13 13:56:10 -0700 |
---|---|---|
committer | hwc487 | 2012-06-13 13:56:10 -0700 |
commit | a7aa51e6b91623772eef54b827616432838b560e (patch) | |
tree | 5b082e3e24fd8311e9334055a7b3b264a3223b26 /js/lib/rdge/materials/flag-material.js | |
parent | eea0703ca3b7f066a9d685ce09905d4860fa082d (diff) | |
download | ninja-a7aa51e6b91623772eef54b827616432838b560e.tar.gz |
Material bug fixes - reset texture array.
Diffstat (limited to 'js/lib/rdge/materials/flag-material.js')
-rw-r--r-- | js/lib/rdge/materials/flag-material.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/flag-material.js b/js/lib/rdge/materials/flag-material.js index a8c319e4..d0bf522f 100644 --- a/js/lib/rdge/materials/flag-material.js +++ b/js/lib/rdge/materials/flag-material.js | |||
@@ -27,6 +27,9 @@ var FlagMaterial = function FlagMaterial() { | |||
27 | 27 | ||
28 | this._hasVertexDeformation = true; | 28 | this._hasVertexDeformation = true; |
29 | 29 | ||
30 | // array textures indexed by shader uniform name | ||
31 | this._glTextures = []; | ||
32 | |||
30 | /////////////////////////////////////////////////////////////////////// | 33 | /////////////////////////////////////////////////////////////////////// |
31 | // Properties | 34 | // Properties |
32 | /////////////////////////////////////////////////////////////////////// | 35 | /////////////////////////////////////////////////////////////////////// |