浏览代码

Merge pull request #5119 from jan-beukes/master

Fix SDL3 compilation error with gcc
pull/5122/head
Ray 1 个月前
committed by GitHub
父节点
当前提交
b1f6ab38b5
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/platforms/rcore_desktop_sdl.c

+ 1
- 1
src/platforms/rcore_desktop_sdl.c 查看文件

@ -1621,7 +1621,7 @@ void PollInputEvents(void)
{
// Add character (codepoint) to the queue
#if defined(PLATFORM_DESKTOP_SDL3)
kt">unsigned int textLen = strlen(event.text.text);
n">size_t textLen = strlen(event.text.text);
unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, &textLen);
#else
int codepointSize = 0;

正在加载...
取消
保存