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

Hard-code internal noise texture format for GL Core profiles #806

Closed kblaschke closed 1 month ago

kblaschke commented 1 month ago

glGetInternalformativ() also is an addition in OpenGL Core 4.2, which we don't officially support. projectM should run with a 3.3 core profile.

This should resolve the (or one?) GL error GStreamer sees on macOS, and also improve stability such as avoiding a potential nullptr crash if the function isn't loaded by GLEW for example.