mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,sdl] print number of monitors before listing
This commit is contained in:
@@ -59,6 +59,7 @@ int sdl_list_monitors(sdlContext* sdl)
|
||||
SDL_Init(SDL_INIT_VIDEO);
|
||||
const int nmonitors = SDL_GetNumVideoDisplays();
|
||||
|
||||
printf("listing %d monitors:\n", nmonitors);
|
||||
for (int i = 0; i < nmonitors; i++)
|
||||
{
|
||||
SDL_Rect rect = { 0 };
|
||||
|
||||
Reference in New Issue
Block a user