Log user request to quit
Log at debug level user requests to quit.
This commit is contained in:
parent
7fe11033cb
commit
cb1428223f
1 changed files with 2 additions and 0 deletions
|
@ -478,7 +478,9 @@ void event_loop(void) {
|
|||
switch (event.type) {
|
||||
case EVENT_DECODER_STOPPED:
|
||||
SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION, "Video decoder stopped");
|
||||
return;
|
||||
case SDL_QUIT:
|
||||
SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION, "User requested to quit");
|
||||
return;
|
||||
case EVENT_NEW_FRAME:
|
||||
if (!handle_new_frame()) {
|
||||
|
|
Loading…
Reference in a new issue