aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfx.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
committerinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
commit41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch)
tree78bcb729c6d6177ca598f28908fefd186c50e9b6 /src/gfx.c
parent3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff)
downloaduGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip
Added new type definitions - moving towards V3.0
Diffstat (limited to 'src/gfx.c')
-rw-r--r--src/gfx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gfx.c b/src/gfx.c
index 67f034a1..564bef35 100644
--- a/src/gfx.c
+++ b/src/gfx.c
@@ -15,7 +15,7 @@
#include "../gfx.h"
-static bool_t gfxInitDone = FALSE;
+static gBool gfxInitDone = gFalse;
/* These init functions are defined by each module but not published */
extern void _gosInit(void);
@@ -84,7 +84,7 @@ void gfxInit(void)
/* Ensure we only initialise once */
if (gfxInitDone)
return;
- gfxInitDone = TRUE;
+ gfxInitDone = gTrue;
// These must be initialised in the order of their dependancies
@@ -141,7 +141,7 @@ void gfxDeinit(void)
{
if (!gfxInitDone)
return;
- gfxInitDone = FALSE;
+ gfxInitDone = gFalse;
// We deinitialise the opposite way as we initialised
#if GFX_USE_GWIN