Skip to content


aszabo314 edited this page Mar 20, 2018 · 3 revisions

The OpenGL driver may produce errors. These are difficult to debug.

Aardvark.Rendering lets you inspect the call that produces such an error. To enable this:

  • Set Config.CheckErrors to true

  • Create your application with debug mode enabled by calling the constructor with true as argument

  • In the Aardvark.Rendering code (addsource it if needed!) go to the file Aardvark.Rendering.GL/Core/Config.fs and find the function called Error.debug (around line 90). Breakpoints in this function will hit when a GL call produces errors.

You can now inspect and hopefully fix the broken code location.

Clone this wiki locally
You can’t perform that action at this time.