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
parent
4a46a9e372
commit
45ebdfb1dc
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue