Merge pull request #5026 from jonathandw743/sdlfix

fixed compile error for PLATFORM sdl
This commit is contained in:
Ray 2025-07-08 21:43:30 +02:00 committed by GitHub
commit 5957564983
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
#endif
CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
CORE.Input.Keyboard.charPressedQueueCount++;