File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1830,6 +1830,7 @@ void rlLoadExtensions(void *loader)
18301830 TRACELOG (LOG_INFO , " > Version: %s" , glGetString (GL_VERSION ));
18311831 TRACELOG (LOG_INFO , " > GLSL: %s" , glGetString (GL_SHADING_LANGUAGE_VERSION ));
18321832
1833+ #if defined(GRAPHICS_API_OPENGL_33 ) || defined(GRAPHICS_API_OPENGL_ES2 )
18331834 // NOTE: Anisotropy levels capability is an extension
18341835 #ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
18351836 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
@@ -1882,7 +1883,9 @@ void rlLoadExtensions(void *loader)
18821883 if (RLGL .ExtSupported .texCompETC2 ) TRACELOG (LOG_INFO , "GL: ETC2/EAC compressed textures supported" );
18831884 if (RLGL .ExtSupported .texCompPVRT ) TRACELOG (LOG_INFO , "GL: PVRT compressed textures supported" );
18841885 if (RLGL .ExtSupported .texCompASTC ) TRACELOG (LOG_INFO , "GL: ASTC compressed textures supported" );
1885- #endif
1886+ #endif // SUPPORT_GL_DETAILS_INFO
1887+
1888+ #endif // GRAPHICS_API_OPENGL_33 || GRAPHICS_API_OPENGL_ES2
18861889}
18871890
18881891// Returns current OpenGL version
You can’t perform that action at this time.
0 commit comments