On Wednesday, 3 June 2015 at 10:21:20 UTC, Kyoji Klyden wrote:
Also the one part I don't understand is with &sources. So is this passing sources as a reference, but sources itself is a pointer to a pointer? I'm just a tad confused on how this part works :S

For some weird reason the function accepts an array of strings for shader source instead of one string. In C speak char* is a string, char** is an array of strings - that's passed to the function.

Reply via email to