• 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
Name
Last commit
Last update
..
gles2 Loading commit data...
dmabuf.c Loading commit data...
drm_format_set.c Loading commit data...
egl.c Loading commit data...
glapi.txt Loading commit data...
meson.build Loading commit data...
wlr_renderer.c Loading commit data...
wlr_texture.c Loading commit data...