summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-26 00:36:22 +0200
committerRay <[email protected]>2021-04-26 00:36:22 +0200
commitbb3303338979dde40168928efc6ea31ed776407d (patch)
tree3c9e4652db2f54240655a39202dd73c06520034b /src
parenta44815e9395e63644e4adeac928155f1e465aed7 (diff)
parent30db611e924ad2ad61137a944a0da4257045cd5f (diff)
downloadraylib-bb3303338979dde40168928efc6ea31ed776407d.tar.gz
raylib-bb3303338979dde40168928efc6ea31ed776407d.zip
Merge branch 'master' of https://github.com/raysan5/raylib
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 6d6218ec..e67d743d 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -1830,6 +1830,7 @@ void rlLoadExtensions(void *loader)
TRACELOG(LOG_INFO, " > Version: %s", glGetString(GL_VERSION));
TRACELOG(LOG_INFO, " > GLSL: %s", glGetString(GL_SHADING_LANGUAGE_VERSION));
+#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
// NOTE: Anisotropy levels capability is an extension
#ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
@@ -1882,7 +1883,9 @@ void rlLoadExtensions(void *loader)
if (RLGL.ExtSupported.texCompETC2) TRACELOG(LOG_INFO, "GL: ETC2/EAC compressed textures supported");
if (RLGL.ExtSupported.texCompPVRT) TRACELOG(LOG_INFO, "GL: PVRT compressed textures supported");
if (RLGL.ExtSupported.texCompASTC) TRACELOG(LOG_INFO, "GL: ASTC compressed textures supported");
-#endif
+#endif // SUPPORT_GL_DETAILS_INFO
+
+#endif // GRAPHICS_API_OPENGL_33 || GRAPHICS_API_OPENGL_ES2
}
// Returns current OpenGL version