diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-12-06 19:34:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 19:34:24 -0300 |
commit | 88959b00477374f37e189404314d7377d5121bd9 (patch) | |
tree | d8e2caec256769738f83d36c4893e3a7a78baab2 /src | |
parent | dd05c7ec79de2beb062ea27418ecbf46bad812a2 (diff) | |
parent | a6e6cd5788dac6dc26101f4162d7704ca5c274e8 (diff) |
Merge pull request #5141 from comex/xx-true-false
maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/engines/maxwell_dma.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h index 17bd280c4..3c59eeb13 100644 --- a/src/video_core/engines/maxwell_dma.h +++ b/src/video_core/engines/maxwell_dma.h @@ -72,11 +72,13 @@ public: struct RenderEnable { enum class Mode : u32 { - FALSE = 0, - TRUE = 1, - CONDITIONAL = 2, - RENDER_IF_EQUAL = 3, - RENDER_IF_NOT_EQUAL = 4, + // Note: This uses Pascal case in order to avoid the identifiers + // FALSE and TRUE, which are reserved on Darwin. + False = 0, + True = 1, + Conditional = 2, + RenderIfEqual = 3, + RenderIfNotEqual = 4, }; PackedGPUVAddr address; |