Skip to main content
GameDev.net gamedev.net
🔒 Locked

OpenGL 4.1 Debug

Started by Tommato Jun 29, 2020 at 4:41 AM 3 replies 2.5k views
Original Post
Tommato
Tommato

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

fleabay
fleabay

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
fleabay

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.