mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,sdl] print current video driver
This commit is contained in:
@@ -739,6 +739,8 @@ static int sdl_run(SdlContext* sdl)
|
||||
}
|
||||
|
||||
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS);
|
||||
auto backend = SDL_GetCurrentVideoDriver();
|
||||
WLog_Print(sdl->log, WLOG_DEBUG, "client is using backend '%s'", backend);
|
||||
sdl_dialogs_init();
|
||||
|
||||
SDL_SetHint(SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED, "0");
|
||||
|
||||
@@ -2432,7 +2432,6 @@ BOOL freerdp_settings_set_monitor_def_array_sorted(rdpSettings* settings,
|
||||
if (!freerdp_settings_set_pointer_len(settings, FreeRDP_MonitorDefArray, NULL, 0))
|
||||
return FALSE;
|
||||
return freerdp_settings_set_uint32(settings, FreeRDP_MonitorCount, 0);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// Find primary or alternatively the monitor at 0/0
|
||||
|
||||
Reference in New Issue
Block a user