You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a nice-to-have, mainly to get rid of the annoying warnings that often show up under Windows (due to redefinition of APIENTRY when you need to include windows.h in a file, but Cinder has already indirectly included glad.h). The GLAD v1 explicitly defines APIENTRY in its header). In GLAD 2, they now use a different define within their library (GLAD_API_PTR), so this warning is gone.
The new GLAD (v2) generator is here: https://gen.glad.sh//
However, I suspect it will be a bit more complicated than just swapping in new generated headers and source files, because the GLAD API changed a bit (also it has more options, so I'm not sure which are best for Cinder).
Just adding this issue as a reminder.
The text was updated successfully, but these errors were encountered:
This is just a nice-to-have, mainly to get rid of the annoying warnings that often show up under Windows (due to redefinition of
APIENTRY
when you need to includewindows.h
in a file, but Cinder has already indirectly includedglad.h
). The GLAD v1 explicitly definesAPIENTRY
in its header). In GLAD 2, they now use a different define within their library (GLAD_API_PTR
), so this warning is gone.The new GLAD (v2) generator is here: https://gen.glad.sh//
However, I suspect it will be a bit more complicated than just swapping in new generated headers and source files, because the GLAD API changed a bit (also it has more options, so I'm not sure which are best for Cinder).
Just adding this issue as a reminder.
The text was updated successfully, but these errors were encountered: