소스 검색

LoadText(): Added comment

pull/1113/head
Ray 5 년 전
부모
커밋
245ba2a152
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/rlgl.h

+ 3
- 0
src/rlgl.h 파일 보기

@ -2996,6 +2996,9 @@ char *LoadText(const char *fileName)
if (textFile != NULL)
{
// WARNING: When reading a file as 'text' file,
// text mode causes carriage return-linefeed translation...
// ...but using fseek() should return correct byte-offset
fseek(textFile, 0, SEEK_END);
int size = ftell(textFile);
fseek(textFile, 0, SEEK_SET);

불러오는 중...
취소
저장