🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

OpenGL 4.1 Debug

Started by
3 comments, last by fleabay 4 years ago

Hi All

I just started to port code from OpenGL 2.1 to 4.1 (OSX 10.14.3, Xcode, Qt Framework). The context is initialized, OpenGL vers is detected as 4.1, my app is running (no crashes), but all graphics windows are empty ;-)

How can I detect my probs? Xcode has some tools but they are for “metal”. Qt also offers some debugging instruments but thet require “KHR_debug” extension that I've not. Can I use something besides tedious glGetError?

Thx

Advertisement

https://vallentin.dev/2015/02/23/debugging-opengl

As long as your card supports 4.3, you can program for 4.1 and not have a problem with Debug Output. At least this is true for GLFW on Nvidia.

🙂🙂🙂🙂🙂<←The tone posse, ready for action.

@fleabay Apple doesn't support Debug Output extension.

@tommato have you created and bound a VAO? Maybe the most common issue when porting old OpenGL code to new is forgetting it.

Aether3D Game Engine: https://github.com/bioglaze/aether3d

Blog: http://twiren.kapsi.fi/blog.html

Control

bioglaze said:
Apple doesn't support Debug Output extension.

My bad, didn't see it was Apple OSX.

Try installing the newest drivers from Nvidia. LOL, OSX. Just don't.

🙂🙂🙂🙂🙂<←The tone posse, ready for action.

This topic is closed to new replies.

Advertisement