瀏覽代碼

fixed compile error for PLATFORM sdl

pull/5026/head
jonathandw743 3 天之前
父節點
當前提交
79c29cbe24
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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);
kt">int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
#endif
CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
CORE.Input.Keyboard.charPressedQueueCount++;

Loading…
取消
儲存