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
Oh, actually, I think the trick is to #undef it before importing glad/gl.h, not after, as I was currently doing. That seems to have worked around it. 🤷
When using
--mx
theGladGLContext
contains a struct member called justMemoryBarrier
, fromglMemoryBarrier
.This conflicts with the
MemoryBarrier
macro defined in<winnt.h>
, leading to compilation issues in some cases.It might be possible to work-around this on my end but I fear that the
<winapifamily.h>
import inside glad pulls this symbol in. I'll investigate.The text was updated successfully, but these errors were encountered: