mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(DXGI/HDR) Move global to only function that requires it
This commit is contained in:
parent
06d62cf86a
commit
b8d9070c9b
@ -40,9 +40,6 @@ const GUID DECLSPEC_SELECTANY libretro_IID_IDXGIOutput6 = { 0x068346e8,0xaaec,
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DXGI_HDR
|
||||
/* TODO/FIXME - globals */
|
||||
static DXGI_HDR_METADATA_HDR10 g_hdr10_meta_data = {0};
|
||||
|
||||
typedef enum hdr_root_constants
|
||||
{
|
||||
HDR_ROOT_CONSTANTS_REFERENCE_WHITE_NITS = 0,
|
||||
@ -662,6 +659,7 @@ void dxgi_set_hdr_metadata(
|
||||
float max_fall
|
||||
)
|
||||
{
|
||||
static DXGI_HDR_METADATA_HDR10 g_hdr10_meta_data = {0};
|
||||
static const display_chromaticities_t
|
||||
display_chromaticity_list[] =
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user