aboutsummaryrefslogtreecommitdiff
path: root/src/library_sdl.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-06-04 14:08:51 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-06-04 14:08:51 -0700
commit0428d4846f0cca7b28f1f22a1f50d5f3a12ec03e (patch)
tree673c51d19a753027523ace866744819ef60b58bf /src/library_sdl.js
parentfb83700d54ec3fbba744d583692ee132baa7774e (diff)
refactor makeCopyValues and add makeSetValues
Diffstat (limited to 'src/library_sdl.js')
-rw-r--r--src/library_sdl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index abff2cab..27bb8744 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -288,7 +288,7 @@ mergeInto(Library, {
var srcData = SDL.surfaces[src];
var dstData = SDL.surfaces[dst];
assert(srcData.width === dstData.width && srcData.height === dstData.height);
- {{{ makeCopyValue('dstData.buffer', 'srcData.buffer', 'srcData.width*srcData.height*4', 'i8') }}}
+ {{{ makeCopyValues('dstData.buffer', 'srcData.buffer', 'srcData.width*srcData.height*4', 'i8') }}}
return 0;
},