|
@@ -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
|