Commented code for review
This commit is contained in:
parent
7bf6a712cc
commit
734776b923
1 changed files with 2 additions and 0 deletions
|
@ -265,6 +265,7 @@ SpriteFont LoadSpriteFont(const char *fileName)
|
||||||
RRESData rres = LoadResource(fileName);
|
RRESData rres = LoadResource(fileName);
|
||||||
|
|
||||||
// Load sprite font texture
|
// Load sprite font texture
|
||||||
|
/*
|
||||||
if (rres.type == RRES_FONT_IMAGE)
|
if (rres.type == RRES_FONT_IMAGE)
|
||||||
{
|
{
|
||||||
// NOTE: Parameters for RRES_FONT_IMAGE type are: width, height, format, mipmaps
|
// NOTE: Parameters for RRES_FONT_IMAGE type are: width, height, format, mipmaps
|
||||||
|
@ -281,6 +282,7 @@ SpriteFont LoadSpriteFont(const char *fileName)
|
||||||
spriteFont.charsCount = rres.param2;
|
spriteFont.charsCount = rres.param2;
|
||||||
spriteFont.chars = rres.data;
|
spriteFont.chars = rres.data;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// TODO: Do not free rres.data memory (chars info data!)
|
// TODO: Do not free rres.data memory (chars info data!)
|
||||||
UnloadResource(rres);
|
UnloadResource(rres);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue