summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-12-06 23:34:24 +0100
committerGitHub <noreply@github.com>2020-12-06 23:34:24 +0100
commit88959b00477374f37e189404314d7377d5121bd9 (patch)
treed8e2caec256769738f83d36c4893e3a7a78baab2
parentMerge pull request #5140 from FearlessTobi/port-5577 (diff)
parentmaxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict (diff)
downloadyuzu-88959b00477374f37e189404314d7377d5121bd9.tar
yuzu-88959b00477374f37e189404314d7377d5121bd9.tar.gz
yuzu-88959b00477374f37e189404314d7377d5121bd9.tar.bz2
yuzu-88959b00477374f37e189404314d7377d5121bd9.tar.lz
yuzu-88959b00477374f37e189404314d7377d5121bd9.tar.xz
yuzu-88959b00477374f37e189404314d7377d5121bd9.tar.zst
yuzu-88959b00477374f37e189404314d7377d5121bd9.zip
-rw-r--r--src/video_core/engines/maxwell_dma.h12
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;