Skip to content
  • Edward Hervey's avatar
    qtgl: Handle OPENGL header guard changes · 3d708a5b
    Edward Hervey authored and Edward Hervey's avatar Edward Hervey committed
    In 2018 khronos changed the gl header guards. If we don't detect
    this properly we would end up with plenty of symbol redifinition
    (since we would be importing twice the "same" header).
    
    Instead detect if the "newer" header was already included and if
    so define the "old" define to avoid this situation
    
    Fixes #523
    3d708a5b