Browse Source

Commented code for review

pull/223/head
Ray 8 years ago
parent
commit
734776b923
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/text.c

+ 2
- 0
src/text.c View File

@ -265,6 +265,7 @@ SpriteFont LoadSpriteFont(const char *fileName)
RRESData rres = LoadResource(fileName);
// Load sprite font texture
/*
if (rres.type == RRES_FONT_IMAGE)
{
// 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.chars = rres.data;
}
*/
// TODO: Do not free rres.data memory (chars info data!)
UnloadResource(rres);

Loading…
Cancel
Save