This is a setting of:
1. Either the Graphic card driver (on desktop systems normally this one)
2. The BIOS (on notebooks normally this one)
In both cases, it only happens when you go fullscreen, in windowed, you won't have the problem.
At best you read out the desktop resolution and create a virtual window ... just create graphics with the desktop size and restrict the viewport etc to a specific ratio ...
1. Either the Graphic card driver (on desktop systems normally this one)
2. The BIOS (on notebooks normally this one)
In both cases, it only happens when you go fullscreen, in windowed, you won't have the problem.
At best you read out the desktop resolution and create a virtual window ... just create graphics with the desktop size and restrict the viewport etc to a specific ratio ...