Add a command gr_glinfo that can view the OpenGL version, renderer and driver vendor, as well as any extensions avaiable with the -l/--list-extensions argument.
This command is particularly useful for learning the hardware capabilities of the hardware renderer providing the OpenGL API. It might also come handy when requesting information from users in issues, especially those related to graphics.
Add a command `gr_glinfo` that can view the OpenGL version, renderer and driver vendor, as well as any extensions avaiable with the `-l`/`--list-extensions` argument.
This command is particularly useful for learning the hardware capabilities of the hardware renderer providing the OpenGL API. It might also come handy when requesting information from users in issues, especially those related to graphics.
Indev450
(Migrated from github.com)
left a comment
Copy link
Copy source
The only very minor problem is that glGetIntegerv takes in GLint* but gets GLuint* and that throws a compiler warning. Otherwise all looks good c:
The only very minor problem is that `glGetIntegerv` takes in `GLint*` but gets `GLuint*` and that throws a compiler warning. Otherwise all looks good c:
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add a command
gr_glinfothat can view the OpenGL version, renderer and driver vendor, as well as any extensions avaiable with the-l/--list-extensionsargument.This command is particularly useful for learning the hardware capabilities of the hardware renderer providing the OpenGL API. It might also come handy when requesting information from users in issues, especially those related to graphics.
The only very minor problem is that
glGetIntegervtakes inGLint*but getsGLuint*and that throws a compiler warning. Otherwise all looks good c: