What is the best way to debug OpenGL?

前端 未结 10 1631
半阙折子戏
半阙折子戏 2020-12-12 17:51

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

10条回答
  •  臣服心动
    2020-12-12 18:21

    There is also the free glslDevil: http://www.vis.uni-stuttgart.de/glsldevil/

    It allows you to debug glsl shaders extensively. It also shows failed OpenGL calls.

    However it's missing features to inspect textures and off screen buffers.

提交回复
热议问题