I have 2 screens, I want to get the displays’ resolutions and show a simple image in the screen which matches the resolution I want. I tried to use SDL2 but got into real irritating problem as it needs to handle events. This is what I tried:
Can anyone tell me a simpler way of doing this? I still have problem with SDL2.