compile error
Hi.
glad on visual studio 2022 produces following error:
"fatal error C1189 c++ compiler expected in yvals_core.h"
I changed glad.c to glad.cpp and it fixed the problem. (my project is c++)
I think the problem is that glad.c includes a header file which contains "yvals_core.h" and compiling that produces above error.
glad config:
opengl core profile 4.6
gles2 3.1
ARB and EXT and AMD extensions.
generate loader checked.
I use cmake.