1
0
鏡像自 https://github.com/luanti-org/luanti.git 已同步 2025-11-01 15:55:26 +01:00

Replace forgotten SEvent memset

此提交包含在:
grorp
2024-11-13 14:23:13 +01:00
提交者 GitHub
父節點 ea4ae55e24
當前提交 11e04ec113

查看文件

@@ -713,7 +713,7 @@ bool CIrrDeviceSDL::run()
while (!Close && wrap_PollEvent(&SDL_event)) {
// os::Printer::log("event: ", core::stringc((int)SDL_event.type).c_str(), ELL_INFORMATION); // just for debugging
memset(&irrevent, 0, sizeof(irrevent));
irrevent = {};
switch (SDL_event.type) {
case SDL_MOUSEMOTION: {