소스 검색

Update raygui.h

Ray 2 년 전
부모
커밋
ed545e4d7b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/raygui.h

+ 4 - 0
src/raygui.h

@@ -4418,6 +4418,8 @@ static void GuiLoadStyleFromMemory(const unsigned char *fileData, int dataSize)
                 // Load font recs data
                 int recsDataSize = font.glyphCount*sizeof(Rectangle);
                 int recsDataCompressedSize = 0;
+
+                // WARNING: Version 400 adds the compression size parameter
                 if (version >= 400)
                 {
                     // RGS files version 400 support compressed recs data
@@ -4455,6 +4457,8 @@ static void GuiLoadStyleFromMemory(const unsigned char *fileData, int dataSize)
                 // Load font glyphs info data
                 int glyphsDataSize = font.glyphCount*16;    // 16 bytes data per glyph
                 int glyphsDataCompressedSize = 0;
+
+                // WARNING: Version 400 adds the compression size parameter
                 if (version >= 400)
                 {
                     // RGS files version 400 support compressed glyphs data