projectM-visualizer / projectm

projectM - Cross-platform Music Visualization Library. Open-source and Milkdrop-compatible.
https://discord.gg/mMrxAqaa3W
GNU Lesser General Public License v2.1
3.22k stars 365 forks source link

CHECK_GL_ERROR additions #805

Open revmischa opened 1 month ago

revmischa commented 1 month ago

Maybe helpful for debugging bad GL calls

kblaschke commented 1 month ago

Before merging and reworking this code again, I'd suggest leaving it in a branch to fix the GStreamer issues, and then implement a proper debugging API via this issue here:

https://github.com/projectM-visualizer/projectm/issues/732

Thst'd save us from reworking any existing code and use a proper debug class/functionality so an outside app can properly log any errors.