fixed compile error for PLATFORM sdl

This commit is contained in:
jonathandw743
2025-07-06 11:36:44 +01:00
parent 7f8dfc6c69
commit 79c29cbe24

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