emscripten: Replace a stray reference to SDL2 with SDL3

Entirely untested, but I'm fairly sure this is what was intended.

Signed-off-by: Simon McVittie <smcv@collabora.com>
main
Simon McVittie 2022-12-13 12:18:54 +00:00 committed by Ryan C. Gordon
parent 4a46a9e372
commit 45ebdfb1dc
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window *window, const SDL_Rect
SDL3.data8 = new Uint8Array(data.buffer); SDL3.data8 = new Uint8Array(data.buffer);
SDL3.data32Data = data; SDL3.data32Data = data;
} }
var data32 = SDL2.data32; var data32 = SDL3.data32;
num = data32.length; num = data32.length;
// logically we need to do // logically we need to do
// while (dst < num) { // while (dst < num) {