소스 검색

Merge pull request #5119 from jan-beukes/master

Fix SDL3 compilation error with gcc
pull/5122/head
Ray 4 달 전
committed by GitHub
부모
커밋
b1f6ab38b5
No known key found for this signature in database 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;

불러오는 중...
취소
저장