Nsight Compatibility Issues

I’m debugging an application that depends on OpenSceneGraph which hasn’t been upgraded to OpenGL 4, so NSight is spewing compatibility issues (glLoadMatrixd, …).

I can sort of debug it, but not fully. Is there any recommendations for debugging an older OpenGL program short of rewriting OpenSceneGraph?


(FYI, the problem is that I have a multi-light shader that works on a radeon based development system, but not on the Nvidia based deployment target. On the Nvidia system (win7, GTX 770), the scene simply goes black, no compile errors, no GL errors, nothing).


Please refer to the weblink for Supported OpenGL Functions of Nsight

You can use the OpenGL Samples Pack which contains older program, link is https://github.com/g-truc/ogl-samples.