[client,sdl] print number of monitors before listing

This commit is contained in:
Armin Novak 2023-01-25 12:43:22 +01:00 committed by akallabeth
parent c1174152c3
commit 05f933398c

View File

@ -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 };