瀏覽代碼

Commented code for review

pull/223/head
Ray 8 年之前
父節點
當前提交
734776b923
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      src/text.c

+ 2
- 0
src/text.c 查看文件

@ -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…
取消
儲存