mirror of
https://github.com/minetest/minetest.git
synced 2025-01-08 22:37:32 +01:00
Replace forgotten SEvent memset
This commit is contained in:
parent
ea4ae55e24
commit
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: {
|
||||
|
Loading…
Reference in New Issue
Block a user