Skip to content
  • Edward Hervey's avatar
    qtgl: Handle OPENGL header guard changes · 5479af13
    Edward Hervey authored and Tim-Philipp Müller's avatar Tim-Philipp Müller 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
    5479af13