Skip to content
  • emersion's avatar
    render/egl: fix swapping with no damage · d6e250b3
    emersion authored
    According to the spec:
    
    > If <n_rects> is 0 then <rects> is ignored and the entire
    > surface is implicitly damaged and the behaviour is equivalent
    > to calling eglSwapBuffers.
    
    When we want to swap with an empty damage region, set the damage to a single
    empty rectangle.
    d6e250b3