[client] more cleanup and added alerts for new events

This commit is contained in:
Geoffrey McRae
2019-03-30 12:26:06 +11:00
parent 5d254c7751
commit 35094a57cb
10 changed files with 248 additions and 162 deletions

View File

@@ -130,6 +130,8 @@ void egl_desktop_toggle_nv(SDL_Scancode key, void * opaque)
EGL_Desktop * desktop = (EGL_Desktop *)opaque;
if (++desktop->nvGain == 4)
desktop->nvGain = 0;
app_alert(LG_ALERT_INFO, "Screen Gain +%d", desktop->nvGain);
}
void egl_desktop_free(EGL_Desktop ** desktop)