summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9dca47b)
raw | patch | inline | side by side (parent: 9dca47b)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 13 Oct 2019 16:36:59 +0000 (19:36 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 13 Oct 2019 16:37:24 +0000 (19:37 +0300) |
src/game/sdl2/g_system.pas | patch | blob | history |
index 85e5d947e2dd9af743c1c4b5d48752ba40fbefd8..b7142a85bc03504b8cda40fc8c380e3a5af21d50 100644 (file)
var ev: TSDL_Event;
begin
result := false;
+ ZeroMemory(@ev, sizeof(ev));
while SDL_PollEvent(@ev) <> 0 do
begin
case ev.type_ of