1.1 --- a/src/video/emscripten/SDL_emscriptenframebuffer.c Tue Sep 13 00:03:58 2016 -0700
1.2 +++ b/src/video/emscripten/SDL_emscriptenframebuffer.c Tue Sep 13 00:03:59 2016 -0700
1.3 @@ -76,7 +76,7 @@
1.4 if (!Module['SDL2']) Module['SDL2'] = {};
1.5 var SDL2 = Module['SDL2'];
1.6 if (SDL2.ctxCanvas !== Module['canvas']) {
1.7 - SDL2.ctx = Module['canvas'].getContext('2d');
1.8 + SDL2.ctx = Module['createContext'](Module['canvas'], false, true);
1.9 SDL2.ctxCanvas = Module['canvas'];
1.10 }
1.11 if (SDL2.w !== w || SDL2.h !== h || SDL2.imageCtx !== SDL2.ctx) {