• Matteo Bruni's avatar
    opengl32: Skip filter_extensions_index() on GL contexts < 3.0. · 6153ced0
    Matteo Bruni authored
    glGetStringi() is not available before 3.0. We can't trust its
    function pointer being NULL since the GL implementation is allowed to
    return anything in this case (*cough* macOS's GL on Metal *cough*).
    
    This probably regressed when fd92954d
    removed the "if (!disabled[0]) return FALSE;" exit from
    filter_extensions(), although that simply exposed an existing issue.
    6153ced0
unix_wgl.c 67.1 KB