Browse Source

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>
Simon McVittie 2 years ago
parent
commit
45ebdfb1dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/emscripten/SDL_emscriptenframebuffer.c

+ 1 - 1
src/video/emscripten/SDL_emscriptenframebuffer.c

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