aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfx.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-20 23:33:32 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-20 23:33:32 +1000
commit8b9d31ef902b80c27065ab542c4783d6194f420f (patch)
treeb38673c199ba319d057ca6b17890ec8c2e4330e7 /src/gfx.c
parente4d6884bca6ca422115765dab60039bd6296ccab (diff)
downloaduGFX-8b9d31ef902b80c27065ab542c4783d6194f420f.tar.gz
uGFX-8b9d31ef902b80c27065ab542c4783d6194f420f.tar.bz2
uGFX-8b9d31ef902b80c27065ab542c4783d6194f420f.zip
Move queued buffer code from gaudio into gqueue
Diffstat (limited to 'src/gfx.c')
-rw-r--r--src/gfx.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gfx.c b/src/gfx.c
index 8e92fc29..b291a736 100644
--- a/src/gfx.c
+++ b/src/gfx.c
@@ -48,6 +48,10 @@ extern void _gosDeinit(void);
extern void _gaudioInit(void);
extern void _gaudioDeinit(void);
#endif
+#if GFX_USE_GQUEUE
+ extern void _gqueueInit(void);
+ extern void _gqueueDeinit(void);
+#endif
#if GFX_USE_GMISC
extern void _gmiscInit(void);
extern void _gmiscDeinit(void);
@@ -63,6 +67,9 @@ void gfxInit(void)
// These must be initialised in the order of their dependancies
_gosInit();
+ #if GFX_USE_GQUEUE
+ _gqueueInit();
+ #endif
#if GFX_USE_GMISC
_gmiscInit();
#endif
@@ -118,7 +125,10 @@ void gfxDeinit(void)
_geventDeinit();
#endif
#if GFX_USE_GMISC
- _gmiscInit();
+ _gmiscDeinit();
+ #endif
+ #if GFX_USE_GQUEUE
+ _gqueueDeinit();
#endif
_gosDeinit();
}