IsEnabled

Checks if the Integer Display Scaling is enabled on a display.

Syntax

Copied!

ADLX_RESULT     IsEnabled (adlx_bool* enabled)

Parameters

  1. [out] enabled adlx_bool* The pointer to a variable where the state of Integer Display Scaling is returned. The variable is true if Integer Display Scaling is enabled. The variable is false if Integer Display Scaling is not enabled.

Return Value

If the state of Integer Display Scaling is successfully returned, ADLX_OK is returned.

If the state of Integer Display Scaling is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Integer Display Scaling gives a sharp, pixelated look to images scaled up to fit the display. Images that can’t be scaled to match the display’s exact size and shape will be centered on screen. Integer Display Scaling enhances visuals in old games to revive vintage gaming experiences on a modern display.

Note: On some AMD GPUs, Integer Display Scaling and Radeon Super Resolution cannot be enabled simultaneously. If Radeon Super Resolution is enabled, Integer Display Scaling is automatically disabled.

Requirements

Header

include “IDisplaySettings.h”

Minimum version

1.0