diff options
| author | Simon Tatham <anakin@pobox.com> | 2013-03-31 09:58:47 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2013-03-31 09:58:47 +0000 |
| commit | 2d2afe9ad4907bd8d802aac68fbf851a64f0c49b (patch) | |
| tree | 9e2a63f31ea4975fdfaeae8b67443894940e89c4 /emcclib.js | |
| parent | 3603131ac1875335c1370c2c7f2cb72787b29af8 (diff) | |
| download | puzzles-2d2afe9ad4907bd8d802aac68fbf851a64f0c49b.zip puzzles-2d2afe9ad4907bd8d802aac68fbf851a64f0c49b.tar.gz puzzles-2d2afe9ad4907bd8d802aac68fbf851a64f0c49b.tar.bz2 puzzles-2d2afe9ad4907bd8d802aac68fbf851a64f0c49b.tar.xz | |
Fix a crash when changing presets in Inertia. Turns out that my
Javascript-side blitter creation function had forgotten to return the
new blitter's id, so the C code was still trying to use blitter #0
after it had been thrown away and replaced.
[originally from svn r9790]
Diffstat (limited to 'emcclib.js')
| -rw-r--r-- | emcclib.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -463,6 +463,7 @@ mergeInto(LibraryManager.library, { blitters[id] = document.createElement("canvas"); blitters[id].width = w; blitters[id].height = h; + return id; }, /* |