Merge pull request #5141 from comex/xx-true-false

maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict
This commit is contained in:
Rodrigo Locatti 2020-12-06 19:34:24 -03:00 committed by GitHub
commit 88959b0047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -72,11 +72,13 @@ public:
struct RenderEnable { struct RenderEnable {
enum class Mode : u32 { enum class Mode : u32 {
FALSE = 0, // Note: This uses Pascal case in order to avoid the identifiers
TRUE = 1, // FALSE and TRUE, which are reserved on Darwin.
CONDITIONAL = 2, False = 0,
RENDER_IF_EQUAL = 3, True = 1,
RENDER_IF_NOT_EQUAL = 4, Conditional = 2,
RenderIfEqual = 3,
RenderIfNotEqual = 4,
}; };
PackedGPUVAddr address; PackedGPUVAddr address;