Skip to content

Conversation

@neico
Copy link
Contributor

@neico neico commented Jul 21, 2025

Updated glad to 2.0.8
and guarded ogl extension usage properly so it won't cause errors if an extension isn't available (ex. GPU RAM usage query for nvidia and amd)

I'm not entirely sure if glfwWindowHint(GLFW_OPENGL_DEBUG_CONTEXT, GLFW_TRUE); (which helps to diagnose OGL errors) should be available only for debug builds or release builds as well, for now it's active in both

I also squeezed in a few small things that shouldn't cause much harm,
like MultiByte charset support, properly using unicode (utf-8) would be desired, but that requires much larger changes to the codebase...

Do keep in mind that this code has been sitting around on my disk for around 6 months, so I'm not entirely sure if I got everything covered, especially on the AMD side as I don't own one (I did briefly test it via remote on someone else's computer who has an AMD card)
And Linux of course is completely untested...

@Borf Borf merged commit 754da29 into Borf:master Jul 25, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants