diff options
author | hwc487 | 2012-04-15 05:16:34 -0700 |
---|---|---|
committer | hwc487 | 2012-04-15 05:16:34 -0700 |
commit | 8992d9baf542135e910bb59328a592d9e330703a (patch) | |
tree | 268465b69fd37ec1dc33d304de959e79dc619ecd /js/lib/rdge/texture.js | |
parent | 331b2ad4d602016f9bb3d03be759fd81fed50c10 (diff) | |
download | ninja-8992d9baf542135e910bb59328a592d9e330703a.tar.gz |
Cloud Material
Diffstat (limited to 'js/lib/rdge/texture.js')
-rw-r--r-- | js/lib/rdge/texture.js | 2 |
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; |