I find that a lot of the time, OpenGL will show you it failed by not drawing anything. I\'m trying to find ways to debug OpenGL programs, by inspecting the transformation ma
I found you can check using glGetError after every line of code your suspect will be wrong, but after do it, the code looks not very clean but it works.