summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorUneven Prankster <[email protected]>2021-11-09 11:24:39 -0300
committerGitHub <[email protected]>2021-11-09 15:24:39 +0100
commit35cbacc68b8c3d02acde9fa28abdc0d29e0b0e9f (patch)
tree9fb40a599f0c401eaa979c1e410228c35976d188
parent44ba3a50bad9eba46c4508993ea94ac5f4038fd4 (diff)
downloadraylib-35cbacc68b8c3d02acde9fa28abdc0d29e0b0e9f.tar.gz
raylib-35cbacc68b8c3d02acde9fa28abdc0d29e0b0e9f.zip
Allow GL4.3 capabilities to be shown (#2124)
Now that 4.3 was added this can be enabled with the compile flag.
-rw-r--r--src/rlgl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 7a282350..d37d45fd 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -2160,13 +2160,12 @@ void rlLoadExtensions(void *loader)
for (int i = 0; i < capability; i++) TRACELOG(RL_LOG_INFO, " %s", rlGetCompressedFormatName(compFormats[i]));
RL_FREE(compFormats);
- /*
- // Following capabilities are only supported by OpenGL 4.3 or greater
+#if defined(GRAPHICS_API_OPENGL_43)
glGetIntegerv(GL_MAX_VERTEX_ATTRIB_BINDINGS, &capability);
TRACELOG(RL_LOG_INFO, " GL_MAX_VERTEX_ATTRIB_BINDINGS: %i", capability);
glGetIntegerv(GL_MAX_UNIFORM_LOCATIONS, &capability);
TRACELOG(RL_LOG_INFO, " GL_MAX_UNIFORM_LOCATIONS: %i", capability);
- */
+#endif // GRAPHICS_API_OPENGL_43
#else // RLGL_SHOW_GL_DETAILS_INFO
// Show some basic info about GL supported features