aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx.c')
-rw-r--r--src/gfx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gfx.c b/src/gfx.c
index fea9044b..b3d82c15 100644
--- a/src/gfx.c
+++ b/src/gfx.c
@@ -15,7 +15,7 @@
#include "gfx.h"
-static bool_t initDone = FALSE;
+static bool_t gfxInitDone = FALSE;
/* These init functions are defined by each module but not published */
extern void _gosInit(void);
@@ -74,9 +74,9 @@ extern void _gosDeinit(void);
void gfxInit(void)
{
/* Ensure we only initialise once */
- if (initDone)
+ if (gfxInitDone)
return;
- initDone = TRUE;
+ gfxInitDone = TRUE;
// These must be initialised in the order of their dependancies
@@ -121,9 +121,9 @@ void gfxInit(void)
void gfxDeinit(void)
{
- if (!initDone)
+ if (!gfxInitDone)
return;
- initDone = FALSE;
+ gfxInitDone = FALSE;
// We deinitialise the opposite way as we initialised
#if GFX_USE_GWIN