1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00
This commit is contained in:
y5nw 2025-06-01 11:14:04 +02:00 committed by y5nw
parent 60b6d9d668
commit 8d5657d257
8 changed files with 68 additions and 86 deletions

View file

@ -945,6 +945,7 @@ bool CIrrDeviceSDL::run()
case SDL_USEREVENT:
irrevent.EventType = EET_USER_EVENT;
irrevent.UserEvent.code = SDL_event.user.code;
irrevent.UserEvent.UserData1 = reinterpret_cast<uintptr_t>(SDL_event.user.data1);
irrevent.UserEvent.UserData2 = reinterpret_cast<uintptr_t>(SDL_event.user.data2);