diff options
-rw-r--r-- | xbmc/HDRStatus.h | 2 | ||||
-rw-r--r-- | xbmc/cores/VideoPlayer/VideoRenderers/windows/RendererBase.h | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/xbmc/HDRStatus.h b/xbmc/HDRStatus.h index b500351e9b..8fe5aaec53 100644 --- a/xbmc/HDRStatus.h +++ b/xbmc/HDRStatus.h @@ -8,7 +8,7 @@ #pragma once -enum class HDR_STATUS : int +enum class HDR_STATUS { HDR_TOGGLE_FAILED = -1, HDR_UNSUPPORTED = 0, diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/windows/RendererBase.h b/xbmc/cores/VideoPlayer/VideoRenderers/windows/RendererBase.h index 000d2beee2..7720e190f8 100644 --- a/xbmc/cores/VideoPlayer/VideoRenderers/windows/RendererBase.h +++ b/xbmc/cores/VideoPlayer/VideoRenderers/windows/RendererBase.h @@ -38,17 +38,17 @@ namespace win enum RenderMethod { - RENDER_INVALID = 0x00, - RENDER_DXVA = 0x01, - RENDER_PS = 0x02, - RENDER_SW = 0x03, + RENDER_INVALID = 0, + RENDER_DXVA = 1, + RENDER_PS = 2, + RENDER_SW = 3 }; -enum class HDR_TYPE : uint32_t +enum class HDR_TYPE { - HDR_NONE_SDR = 0x00, - HDR_HDR10 = 0x01, - HDR_HLG = 0x02 + HDR_NONE_SDR = 0, + HDR_HDR10 = 1, + HDR_HLG = 2 }; class CRenderBuffer |