Found on sanctum2, returning 0 in XPending & XEventsQueued make the SDL do something else than polling events and makes lag the event loop. Now the event loop returns 0 when there are no more events. |
||
|---|---|---|
| .. | ||
| impls | ||
| imconfig.h | ||
| imgui.cpp | ||
| imgui.h | ||
| imgui_draw.cpp | ||
| imgui_internal.h | ||
| imgui_user.h | ||
| imgui_widgets.cpp | ||
| imstb_rectpack.h | ||
| imstb_textedit.h | ||
| imstb_truetype.h | ||