aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/texture.js
diff options
context:
space:
mode:
authorhwc4872012-04-15 05:16:34 -0700
committerhwc4872012-04-15 05:16:34 -0700
commit8992d9baf542135e910bb59328a592d9e330703a (patch)
tree268465b69fd37ec1dc33d304de959e79dc619ecd /js/lib/rdge/texture.js
parent331b2ad4d602016f9bb3d03be759fd81fed50c10 (diff)
downloadninja-8992d9baf542135e910bb59328a592d9e330703a.tar.gz
Cloud Material
Diffstat (limited to 'js/lib/rdge/texture.js')
-rw-r--r--js/lib/rdge/texture.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/rdge/texture.js b/js/lib/rdge/texture.js
index b85ee076..15f786ea 100644
--- a/js/lib/rdge/texture.js
+++ b/js/lib/rdge/texture.js
@@ -233,7 +233,7 @@ function Texture( dstWorld, texMapName, wrap, mips )
233 } 233 }
234 234
235 // copy the source canvas to the context to be used in the texture 235 // copy the source canvas to the context to be used in the texture
236 renderCtx.drawImage(srcCanvas, 0, 0); 236 renderCtx.drawImage(srcCanvas, 0, 0, width, height);
237 237
238 ///////////////// 238 /////////////////
239 tex.image = renderCanvas; 239 tex.image = renderCanvas;