mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 06:52:20 +00:00
[BUG] Corrected a problem introduced by me :(
This commit is contained in:
parent
67b39ed470
commit
81c3a5650f
2 changed files with 3 additions and 4 deletions
|
@ -167,11 +167,10 @@ int GRRLIB_Init (void) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call this before exiting your application.
|
* Call this before exiting your application.
|
||||||
|
* Ensure this function is only ever called once
|
||||||
|
* and only if the setup function has been called.
|
||||||
*/
|
*/
|
||||||
void GRRLIB_Exit (void) {
|
void GRRLIB_Exit (void) {
|
||||||
|
|
||||||
// Ensure this function is only ever called once
|
|
||||||
// ...and only if the setup function has been called
|
|
||||||
static bool done = false;
|
static bool done = false;
|
||||||
if (done || !is_setup) return ;
|
if (done || !is_setup) return ;
|
||||||
else done = true ;
|
else done = true ;
|
||||||
|
|
|
@ -144,7 +144,7 @@ typedef struct GRRLIB_bytemapFont {
|
||||||
s8 tracking; /**< Tracking (Add-space after each char) (-128 to 127). */
|
s8 tracking; /**< Tracking (Add-space after each char) (-128 to 127). */
|
||||||
|
|
||||||
GRRLIB_bytemapChar *charDef; /**< Array of bitmap characters. */
|
GRRLIB_bytemapChar *charDef; /**< Array of bitmap characters. */
|
||||||
} GRRLIB_bytemapChar;
|
} GRRLIB_bytemapFont;
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue