Allow GL4.3 capabilities to be shown (#2124)
Now that 4.3 was added this can be enabled with the compile flag.
This commit is contained in:
parent
44ba3a50ba
commit
35cbacc68b
1 changed files with 2 additions and 3 deletions
|
@ -2160,13 +2160,12 @@ void rlLoadExtensions(void *loader)
|
||||||
for (int i = 0; i < capability; i++) TRACELOG(RL_LOG_INFO, " %s", rlGetCompressedFormatName(compFormats[i]));
|
for (int i = 0; i < capability; i++) TRACELOG(RL_LOG_INFO, " %s", rlGetCompressedFormatName(compFormats[i]));
|
||||||
RL_FREE(compFormats);
|
RL_FREE(compFormats);
|
||||||
|
|
||||||
/*
|
#if defined(GRAPHICS_API_OPENGL_43)
|
||||||
// Following capabilities are only supported by OpenGL 4.3 or greater
|
|
||||||
glGetIntegerv(GL_MAX_VERTEX_ATTRIB_BINDINGS, &capability);
|
glGetIntegerv(GL_MAX_VERTEX_ATTRIB_BINDINGS, &capability);
|
||||||
TRACELOG(RL_LOG_INFO, " GL_MAX_VERTEX_ATTRIB_BINDINGS: %i", capability);
|
TRACELOG(RL_LOG_INFO, " GL_MAX_VERTEX_ATTRIB_BINDINGS: %i", capability);
|
||||||
glGetIntegerv(GL_MAX_UNIFORM_LOCATIONS, &capability);
|
glGetIntegerv(GL_MAX_UNIFORM_LOCATIONS, &capability);
|
||||||
TRACELOG(RL_LOG_INFO, " GL_MAX_UNIFORM_LOCATIONS: %i", capability);
|
TRACELOG(RL_LOG_INFO, " GL_MAX_UNIFORM_LOCATIONS: %i", capability);
|
||||||
*/
|
#endif // GRAPHICS_API_OPENGL_43
|
||||||
#else // RLGL_SHOW_GL_DETAILS_INFO
|
#else // RLGL_SHOW_GL_DETAILS_INFO
|
||||||
|
|
||||||
// Show some basic info about GL supported features
|
// Show some basic info about GL supported features
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue