SnapToRegion: Add dynamic overlay

Either uses a half transparent single rect if running
hardware accelerated or uses a solid struct multirect
outline if not.
This commit is contained in:
Consolatis 2022-09-13 08:15:33 +02:00
parent 4edd67de17
commit eb5c8cfdad
10 changed files with 88 additions and 45 deletions

View file

@ -868,7 +868,7 @@ rcxml_finish(void)
zfree(w);
}
regions_destroy(&rc.regions);
regions_destroy(NULL, &rc.regions);
/* Reset state vars for starting fresh when Reload is triggered */
current_keybind = NULL;