Skip to content
  • Pekka Paalanen's avatar
    renderer/native: fix missing GPU copy egl ext error · 6932b3cb
    Pekka Paalanen authored
    If the extension is missing, the GPU copy path would not work. The code sets
    the error, but forgets to return a failure. Fix this.
    
    While adding the necessary return FALSE, also destroy the EGL context we just
    created. Code refactoring shares the destroying code.
    
    Found by reading code.
    
    GNOME/mutter!416
    6932b3cb