Преглед изворни кода

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 <[email protected]>
Simon McVittie пре 2 година
родитељ
комит
45ebdfb1dc
1 измењених фајлова са 1 додато и 1 уклоњено
  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) {