diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-10 08:26:16 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-08-10 08:26:16 -0400 |
commit | 7da43ff8b05aa5280e1b94190a8ce157a8131af4 (patch) | |
tree | aa093edce256bcbf2fe39f7ea38e49aefbaeb2f7 /examples/compositor | |
parent | 947bb2e43696198373f028567b01a1f2159d3784 (diff) |
Implement wlr_surface_flush_damage
Diffstat (limited to 'examples/compositor')
-rw-r--r-- | examples/compositor/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/compositor/main.c b/examples/compositor/main.c index 7ac549e5..fd592600 100644 --- a/examples/compositor/main.c +++ b/examples/compositor/main.c @@ -42,6 +42,7 @@ void handle_output_frame(struct output_state *output, struct timespec *ts) { float matrix[16]; wl_list_for_each(_res, &sample->compositor.surfaces, link) { struct wlr_surface *surface = wl_resource_get_user_data(_res); + wlr_surface_flush_damage(surface); if (surface->texture->valid) { wlr_texture_get_matrix(surface->texture, &matrix, &wlr_output->transform_matrix, 200, 200); |