소스 검색

Added support for s3tc compression on web

pull/66/head
Ray San 10 년 전
부모
커밋
d1f099374c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      src/rlgl.c

+ 2
- 1
src/rlgl.c 파일 보기

@ -1008,7 +1008,8 @@ void rlglInit(void)
#endif
// DDS texture compression support
if (strcmp(extList[i], (const char *)"GL_EXT_texture_compression_s3tc") == 0) texCompDXTSupported = true;
if ((strcmp(extList[i], (const char *)"GL_EXT_texture_compression_s3tc") == 0) ||
(strcmp(extList[i], (const char *)"GL_WEBKIT_WEBGL_compressed_texture_s3tc") == 0)) texCompDXTSupported = true;
// ETC1 texture compression support
if (strcmp(extList[i], (const char *)"GL_OES_compressed_ETC1_RGB8_texture") == 0) texCompETC1Supported = true;

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