Add gr_glinfo. #146

Merged
utkumaden merged 7 commits from Saturn into Saturn-Next 2024-12-12 12:34:32 +01:00
utkumaden commented 2024-12-05 20:43:12 +01:00 (Migrated from github.com)

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) requested changes 2024-12-06 18:37:40 +01:00
Indev450 (Migrated from github.com) left a comment

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:
Indev450 (Migrated from github.com) approved these changes 2024-12-12 12:27:34 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#146