diff options
author | Simon Ser <contact@emersion.fr> | 2019-04-25 19:35:40 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-26 10:08:08 -0600 |
commit | d6e250b389b8ea07af1c801b10ecf0b55f758413 (patch) | |
tree | b3b5833eb81ca5a996996c1816b2049e0a07fdeb /rootston/main.c | |
parent | 736632ad4ed349bd5aea0c2120977b745325672d (diff) |
render/egl: fix swapping with no damage
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.
Diffstat (limited to 'rootston/main.c')
0 files changed, 0 insertions, 0 deletions