aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthexai <58434170+thexai@users.noreply.github.com>2020-11-30 12:17:56 +0100
committerthexai <58434170+thexai@users.noreply.github.com>2020-12-01 10:03:51 +0100
commit113c2fa50e5ba30911517c107602480d4cc87cb5 (patch)
treed656a74782e2d8c8a880cb60a9360c52cb9e0c44
parentf6ed6debbdbadf1763a932c00e5df0dfea48dd52 (diff)
Clean up some enums (coding style)
-rw-r--r--xbmc/HDRStatus.h2
-rw-r--r--xbmc/cores/VideoPlayer/VideoRenderers/windows/RendererBase.h16
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