Sfoglia il codice sorgente

fixed compile error for PLATFORM sdl

pull/5026/head
jonathandw743 2 settimane fa
parent
commit
79c29cbe24
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/platforms/rcore_desktop_sdl.c

+ 1
- 1
src/platforms/rcore_desktop_sdl.c Vedi File

@ -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);
kt">int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
#endif
CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
CORE.Input.Keyboard.charPressedQueueCount++;

Caricamento…
Annulla
Salva