mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-03 08:28:30 +00:00
Merge pull request #5026 from jonathandw743/sdlfix
fixed compile error for PLATFORM sdl
This commit is contained in:
@@ -1612,7 +1612,7 @@ void PollInputEvents(void)
|
|||||||
unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, textLen);
|
unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, textLen);
|
||||||
#else
|
#else
|
||||||
int codepointSize = 0;
|
int codepointSize = 0;
|
||||||
codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
|
int codepoint = GetCodepointNextSDL(event.text.text, &codepointSize);
|
||||||
#endif
|
#endif
|
||||||
CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
|
CORE.Input.Keyboard.charPressedQueue[CORE.Input.Keyboard.charPressedQueueCount] = codepoint;
|
||||||
CORE.Input.Keyboard.charPressedQueueCount++;
|
CORE.Input.Keyboard.charPressedQueueCount++;
|
||||||
|
Reference in New Issue
Block a user