Переглянути джерело

Fix SDL3 compilation error with gcc

pull/5119/head
Jan Beukes 2 місяці тому
джерело
коміт
8772b0287c
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;

Завантаження…
Відмінити
Зберегти