From fe9e0b208cbc0b970e9a6035290cf698fe984242 Mon Sep 17 00:00:00 2001 From: James Benton Date: Tue, 26 Jun 2018 15:56:11 +0100 Subject: [PATCH] gx2: Add brackets around define values. --- include/gx2/enum.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/gx2/enum.h b/include/gx2/enum.h index a58dc5b..cb2b928 100644 --- a/include/gx2/enum.h +++ b/include/gx2/enum.h @@ -11,10 +11,10 @@ extern "C" { #endif -#define GX2_FALSE 0 -#define GX2_TRUE 1 -#define GX2_DISABLE 0 -#define GX2_ENABLE 1 +#define GX2_FALSE (0) +#define GX2_TRUE (1) +#define GX2_DISABLE (0) +#define GX2_ENABLE (1) #define GX2_COMMAND_BUFFER_ALIGNMENT (0x40) #define GX2_CONTEXT_STATE_ALIGNMENT (0x100)