summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-18 20:33:49 +0200
committerRay <[email protected]>2021-04-18 20:33:49 +0200
commit223091f44c95ae41241939d5fb25c8a7734b1895 (patch)
treeb3d038c312f30ba42f25a3a6aaac413653b2712c /src
parentd4ccca81dbb7f8300aa0b7a6b0f195b1814dc9fc (diff)
downloadraylib-223091f44c95ae41241939d5fb25c8a7734b1895.tar.gz
raylib-223091f44c95ae41241939d5fb25c8a7734b1895.zip
Review extensions issue on macOS
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 19f503be..ab12cc0e 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -1702,9 +1702,11 @@ void rlLoadExtensions(void *loader)
RLGL.ExtSupported.maxDepthBits = 32;
RLGL.ExtSupported.texAnisoFilter = true;
RLGL.ExtSupported.texMirrorClamp = true;
+ #if !defined(__APPLE__)
// NOTE: With GLAD, we can check if an extension is supported using the GLAD_GL_xxx booleans
if (GLAD_GL_EXT_texture_compression_s3tc) RLGL.ExtSupported.texCompDXT = true; // Texture compression: DXT
if (GLAD_GL_ARB_ES3_compatibility) RLGL.ExtSupported.texCompETC2 = true; // Texture compression: ETC2/EAC
+ #endif
#endif // GRAPHICS_API_OPENGL_33
#if defined(GRAPHICS_API_OPENGL_ES2)