Chooses how to handle video mode changes.
Changes the resolution of the Windows desktop to match the paramaters of SetDisplayMode. The function will return an error if an incompatible mode is attempted.
Stretches the primary surface to fill the entire screen.
Scales the primary surface to fit the screen, while preserving the original aspect ratio.
Displays the primary surface as an unscaled image in the center of the screen.
Attempts to change the desktop resolution. If the mode is not compatible, chooses the closest mode and stretches the primary to the screen.
Attempts to change the desktop resolution. If the mode is not compatible, chooses the closest mode and scales the primary to the screen, preserving aspect ratio.
Attempts to change the desktop resolution. If the mode is not compatible, chooses the closest mode and displays the primary in the center of the screen.
Scales the primary surface to fit the screen, while preserving the original aspect ratio. If the aspect ratio of the primary does not match the aspect ratio of the display, this will crop the image to fit.
Multiplies the size of the primary surface by the X and Y values specified under “Fixed scaling.” The image is centered within the screen.
Switches the display to the mode specified under “Custom resolution” and stretches the image to fit to that mode.
Stretches the primary surface to the size specified under “Custom resolution” and centers it on the display.
Custom size multiplier, Custom display mode, and Custom size, centered are implemented in DXGL 0.5.14 and later.