Skip to content
Snippets Groups Projects
Commit a6e6cd57 authored by comex's avatar comex
Browse files

maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict

On Apple platforms, FALSE and TRUE are defined as macros by
<mach/boolean.h>, which is included by various system headers.

Note that there appear to be no actual users of the names to fix up.
parent f2f346e1
No related branches found
No related tags found
No related merge requests found
...@@ -72,11 +72,13 @@ public: ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment