diff options
| author | 2020-12-06 19:34:24 -0300 | |
|---|---|---|
| committer | 2020-12-06 19:34:24 -0300 | |
| commit | 88959b00477374f37e189404314d7377d5121bd9 (patch) | |
| tree | d8e2caec256769738f83d36c4893e3a7a78baab2 /src | |
| parent | Merge pull request #5140 from FearlessTobi/port-5577 (diff) | |
| parent | maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict (diff) | |
| download | yuzu-88959b00477374f37e189404314d7377d5121bd9.tar.gz yuzu-88959b00477374f37e189404314d7377d5121bd9.tar.xz yuzu-88959b00477374f37e189404314d7377d5121bd9.zip | |
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: | |||
| 72 | 72 | ||
| 73 | struct RenderEnable { | 73 | struct RenderEnable { |
| 74 | enum class Mode : u32 { | 74 | enum class Mode : u32 { |
| 75 | FALSE = 0, | 75 | // Note: This uses Pascal case in order to avoid the identifiers |
| 76 | TRUE = 1, | 76 | // FALSE and TRUE, which are reserved on Darwin. |
| 77 | CONDITIONAL = 2, | 77 | False = 0, |
| 78 | RENDER_IF_EQUAL = 3, | 78 | True = 1, |
| 79 | RENDER_IF_NOT_EQUAL = 4, | 79 | Conditional = 2, |
| 80 | RenderIfEqual = 3, | ||
| 81 | RenderIfNotEqual = 4, | ||
| 80 | }; | 82 | }; |
| 81 | 83 | ||
| 82 | PackedGPUVAddr address; | 84 | PackedGPUVAddr address; |