aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-28 12:52:22 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-28 12:52:22 -0800
commit7a288fffe8960c4b4f211671eb32581c1df93d04 (patch)
tree2d4e586384b68e94c2953ba13b7f3cf9f74e4a99
parent493eed11c24fc51716a08df7b72d5f0021e6535e (diff)
parent1e3af7db103fa41ebb22b94eb9069f52a03f0dd5 (diff)
Merge pull request #1954 from richq/lockref
Fix missing SDL_LockSurface reference
-rw-r--r--src/library_sdl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index 2efc1271..1c1e8107 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -1220,6 +1220,7 @@ var LibrarySDL = {
if (surf) SDL.freeSurface(surf);
},
+ SDL_UpperBlit__deps: ['SDL_LockSurface'],
SDL_UpperBlit: function(src, srcrect, dst, dstrect) {
var srcData = SDL.surfaces[src];
var dstData = SDL.surfaces[dst];