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.
This commit is contained in:
@@ -72,8 +72,8 @@ public:
|
|||||||
|
|
||||||
struct RenderEnable {
|
struct RenderEnable {
|
||||||
enum class Mode : u32 {
|
enum class Mode : u32 {
|
||||||
FALSE = 0,
|
_FALSE = 0,
|
||||||
TRUE = 1,
|
_TRUE = 1,
|
||||||
CONDITIONAL = 2,
|
CONDITIONAL = 2,
|
||||||
RENDER_IF_EQUAL = 3,
|
RENDER_IF_EQUAL = 3,
|
||||||
RENDER_IF_NOT_EQUAL = 4,
|
RENDER_IF_NOT_EQUAL = 4,
|
||||||
|
|||||||
Reference in New Issue
Block a user