Changes to stop unwanted resolution change for non CRT users

This commit is contained in:
alphanu1 2018-04-29 01:41:38 +01:00 committed by GitHub
parent 90d62fd0cc
commit 1f8540ca9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,8 @@ static void* win32_display_server_init(void)
static void win32_display_server_destroy(void *data)
{
video_display_server_switch_resolution(orig_width, orig_height,
if (orig_width > 0 && orig_height > 0 )
video_display_server_switch_resolution(orig_width, orig_height,
0, 60);
dispserv_win32_t *dispserv = (dispserv_win32_t*)data;