Skip to content
  • Benjamin Otte's avatar
    gl: Check allowed APIs in realize() · f584d4f5
    Benjamin Otte authored
    Add gdk_gl_context_is_api_allowed() for backends and make them use it.
    
    Finally, have them return the final API as the return value (or 0 on
    error).
    
    And then use that api instead of a use_es boolean flag.
    
    Fixes #4221
    f584d4f5