mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-17 15:21:44 +00:00
Move global variable to right code section
This commit is contained in:
@@ -130,6 +130,7 @@ extern bool isGpuReady;
|
|||||||
// NOTE: Default font is loaded on InitWindow() and disposed on CloseWindow() [module: core]
|
// NOTE: Default font is loaded on InitWindow() and disposed on CloseWindow() [module: core]
|
||||||
static Font defaultFont = { 0 };
|
static Font defaultFont = { 0 };
|
||||||
#endif
|
#endif
|
||||||
|
static int textLineSpacing = 2; // Text vertical line spacing in pixels (between lines)
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Other Modules Functions Declaration (required by text)
|
// Other Modules Functions Declaration (required by text)
|
||||||
@@ -145,7 +146,6 @@ static Font LoadBMFont(const char *fileName); // Load a BMFont file (AngelCode
|
|||||||
#if defined(SUPPORT_FILEFORMAT_BDF)
|
#if defined(SUPPORT_FILEFORMAT_BDF)
|
||||||
static GlyphInfo *LoadFontDataBDF(const unsigned char *fileData, int dataSize, int *codepoints, int codepointCount, int *outFontSize);
|
static GlyphInfo *LoadFontDataBDF(const unsigned char *fileData, int dataSize, int *codepoints, int codepointCount, int *outFontSize);
|
||||||
#endif
|
#endif
|
||||||
static int textLineSpacing = 2; // Text vertical line spacing in pixels (between lines)
|
|
||||||
|
|
||||||
#if defined(SUPPORT_DEFAULT_FONT)
|
#if defined(SUPPORT_DEFAULT_FONT)
|
||||||
extern void LoadFontDefault(void);
|
extern void LoadFontDefault(void);
|
||||||
|
Reference in New Issue
Block a user