OSMesa demos are linked with standard GL functions
The OSMesa demos are linked to the standard OpenGL library, and functions are resolved from there instead of the OSMesa library. As a result, nothing is rendered in the output image. Using GLAD and OSMesaGetProcAddress
partially fixes this, but the use of GLU for spheres and cones makes things difficult.