diff options
author | John Vilk <jvilk@cs.umass.edu> | 2014-01-03 15:26:47 -0500 |
---|---|---|
committer | John Vilk <jvilk@cs.umass.edu> | 2014-01-03 15:26:47 -0500 |
commit | 2268e7b0b65b532f4bc762b394e8d1c4a590fefc (patch) | |
tree | 1151e22b6fc45b4ab438c4f8b5f82c6fffc723a7 /emar.bat | |
parent | a1faa7ef09a250599f2a4a2e4803c4f571aa9558 (diff) |
[SDL] Fixing SDL_UnlockSurface in IE10/IE11.
Previously, just calling SDL_UnlockSurface in IE10/IE11 would throw an exception, since Emscripten assumed that the ImageData's `data` property was Uint8ClampedArray, which has a backing buffer.
IE10/IE11 still uses the deprecated CanvasPixelArray, which does not have a backing buffer property:
https://developer.mozilla.org/en-US/docs/Web/API/CanvasPixelArray
I've added an additional path to SDL_UnlockSurface for these browsers.
Diffstat (limited to 'emar.bat')
0 files changed, 0 insertions, 0 deletions