SetEnabled 

Sets the AMD integer scaling to enabled or disabled state on a display.

Syntax 

ADLX_RESULT     SetEnabled (adlx_bool enable)

Parameters 

  1. [in] enable adlx_bool The new Integer Display Scaling state. Set true to enable Integer Display Scaling. Set false to disable Integer Display Scaling.

Return Value 

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

If the state of Integer Display Scaling is not successfully set, 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 Integer Display Scaling is enabled, Radeon Super Resolution is automatically disabled.

Requirements 

Header

include “IDisplaySettings.h”

Minimum version

1.0