Skip to content

treewide: switch to glad2

He Haocheng requested to merge hch12907/mesa-demos:glad2 into main

Based on !130 (merged).

For most files (except eglinfo, wglcontext, wglgears, wglinfo and probably some that I forgot), all I did was running a regex:

gladLoadGL();((?:.|\n)*)(return 0); -> gladLoaderLoadGL();$1\n gladLoaderUnloadGL();\n $2;

(I am not expecting to merge this anytime soon... Probably we can merge it after a new release is made.)

Edited by He Haocheng

Merge request reports

Loading