Explorar el Código

Merge pull request #5026 from jonathandw743/sdlfix

fixed compile error for PLATFORM sdl
Ray hace 2 meses
padre
commit
5957564983
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/platforms/rcore_desktop_sdl.c

+ 1 - 1
src/platforms/rcore_desktop_sdl.c

@@ -1612,7 +1612,7 @@ void PollInputEvents(void)
                     unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, textLen);
                     #else
                     int codepointSize = 0;
-                    codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
+                    int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
                     #endif
                     CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
                     CORE.Input.Keyboard.charPressedQueueCount++;