diff options
Diffstat (limited to 'js/lib/rdge/texture.js')
-rw-r--r-- | js/lib/rdge/texture.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/lib/rdge/texture.js b/js/lib/rdge/texture.js index 628f22ba..e0bf3364 100644 --- a/js/lib/rdge/texture.js +++ b/js/lib/rdge/texture.js | |||
@@ -205,7 +205,6 @@ function Texture( dstWorld, texMapName, wrap, mips ) | |||
205 | } | 205 | } |
206 | var renderer = world.getRenderer(); | 206 | var renderer = world.getRenderer(); |
207 | 207 | ||
208 | var imageData; | ||
209 | var width = srcCanvas.width, height = srcCanvas.height; | 208 | var width = srcCanvas.width, height = srcCanvas.height; |
210 | if (!this.isPowerOfTwo(width) || !this.isPowerOfTwo(height)) | 209 | if (!this.isPowerOfTwo(width) || !this.isPowerOfTwo(height)) |
211 | { | 210 | { |