Przeglądaj źródła

Merge pull request #5119 from jan-beukes/master

Fix SDL3 compilation error with gcc
pull/5122/head
Ray 2 miesięcy temu
committed by GitHub
rodzic
commit
b1f6ab38b5
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/platforms/rcore_desktop_sdl.c

+ 1
- 1
src/platforms/rcore_desktop_sdl.c Wyświetl plik

@ -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;

Ładowanie…
Anuluj
Zapisz