gx2: Add brackets around define values.

This commit is contained in:
James Benton 2018-06-26 15:56:11 +01:00
parent fa285aa946
commit fe9e0b208c

View File

@ -11,10 +11,10 @@
extern "C" { extern "C" {
#endif #endif
#define GX2_FALSE 0 #define GX2_FALSE (0)
#define GX2_TRUE 1 #define GX2_TRUE (1)
#define GX2_DISABLE 0 #define GX2_DISABLE (0)
#define GX2_ENABLE 1 #define GX2_ENABLE (1)
#define GX2_COMMAND_BUFFER_ALIGNMENT (0x40) #define GX2_COMMAND_BUFFER_ALIGNMENT (0x40)
#define GX2_CONTEXT_STATE_ALIGNMENT (0x100) #define GX2_CONTEXT_STATE_ALIGNMENT (0x100)