Skip to content

Adding a few macros and functions to capture more error details throw…

Bastiaan Olij requested to merge github/fork/BastiaanOlij/output_gl_errors into master

This can probably use some more spit and polish but just throwing it in there as I wrote these quickly this morning to debug some iPhone issues.

I've added a couple of macros and a couple of supporting functions to log a little more info about any errors generated by OpenGL. While overkill to do for every command adding these to more failure sensitive functions can help find issues quicker as it will output the location and name of the constant (where I've added it to the list) of the error being thrown.

Merge request reports