Yaron 53 Posted April 16, 2020 (edited) I need to temporarily disable HDR to display a menu system when an HDR video is playing. It's been a bit of a chase finding out this is done, so I thought I'll share. There's documentation of how to do it with C++ here:https://stackoverflow.com/questions/53517128/query-if-hdr-is-active-on-windows But even Delphi 10.3.3 is missing "Winapi.DXGI1_6.pas". However, Searching for this file led me to MfPack (https://sourceforge.net/projects/mfpack/), which does carry up to date header conversions. Edited April 16, 2020 by Yaron Share this post Link to post
vfbb 285 Posted April 16, 2020 @Yaron I use this library https://github.com/CMCHTPC/DelphiDX12 This was made to be used with FPC firstly, you will see many hints and warnings compiling to Delphi. But it still works for me. 1 Share this post Link to post