So, I have a fairly large openGL program, and checking for a normal memory leak (those that have been added and removed) is pretty trivial - just run it on valgrind.
But what is the best way to check for potential opengl leaks? Is there an opengl utility that will tell you how many resources (like framebuffers) are being used at that time or something? Or is this the only way to attach a counter to each glGenBlah and glDeleteBlah group?
source share