Restore resolution fix

This commit is contained in:
alphanu1 2018-04-28 20:52:24 +01:00 committed by GitHub
parent 46afabee6a
commit 6aa072b6cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -43,7 +43,7 @@ static void crt_check_first_run(void)
if (!first_run)
return;
video_display_server_get_current_resolution(&orig_width, &orig_height);
first_run = false;
}
@ -178,8 +178,5 @@ void crt_video_restore(void)
if (first_run)
return;
video_display_server_switch_resolution(orig_width, orig_height,
0, 60);
first_run = true;
first_run = true;
}