aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Reisenauer <kd7tck@msn.com>2016-04-30 19:00:23 -0700
committerJoshua Reisenauer <kd7tck@msn.com>2016-04-30 19:00:23 -0700
commitfa3112b40e5f6a1e09f34aadd7a4af9410179618 (patch)
treef3f55ed2ac8891fcf4be17317bd96c383eb1143c /src
parent34e5fcf47e99deecc9954fd848130c61119e2e93 (diff)
parent6ca1fd59a9ec1b61f4e9b48ed979e643b1dbcb6d (diff)
downloadraylib-fa3112b40e5f6a1e09f34aadd7a4af9410179618.tar.gz
raylib-fa3112b40e5f6a1e09f34aadd7a4af9410179618.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 06efd777..5b181a86 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -969,10 +969,12 @@ void rlglInit(void)
// DDS texture compression support
if ((strcmp(extList[i], (const char *)"GL_EXT_texture_compression_s3tc") == 0) ||
+ (strcmp(extList[i], (const char *)"GL_WEBGL_compressed_texture_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;
+ if ((strcmp(extList[i], (const char *)"GL_OES_compressed_ETC1_RGB8_texture") == 0) ||
+ (strcmp(extList[i], (const char *)"GL_WEBGL_compressed_texture_etc1") == 0)) texCompETC1Supported = true;
// ETC2/EAC texture compression support
if (strcmp(extList[i], (const char *)"GL_ARB_ES3_compatibility") == 0) texCompETC2Supported = true;