The implementation of AMD Anti-Lag 2 is literally initialising 1 variable and a few function calls, it can be bundled with any small patch that is pushed to production.
Please add support for it, it’s a competitive FPS and a lot of users are on Radeon GPUs. Just look up “AMD Anti-Lag 2 SDK” and click the first result:
- Include the DirectX®11 header in your game: ffx_antilag2_dx11.h
- Declare a persistent
AMD::AntiLag2DX11::Context
object initialized with= {}
or mem-zeroed.- Call
AMD::AntiLag2DX11::Initialize(&context)
. If this function returnsS_OK
, then Anti-Lag 2 is present in your game.- Call
AMD::AntiLag2DX11::Update(&context,true,0)
at the point just before the game polls for input. Specify true to enable Anti-Lag 2. False, to disable it. The second parameter is an optional framerate limiter. Specify zero to disable it.- Call
AMD::AntiLag2DX11::DeInitialize(&context)
to clean up the references to the SDK on game exit.