Fix a copy-paste error in weston_surface_commit_state

dev
Jason Ekstrand 10 years ago
parent 386754cf79
commit f83a0d44b8
  1. 2
      src/compositor.c

@ -2249,7 +2249,7 @@ weston_surface_commit_state(struct weston_surface *surface,
&state->damage); &state->damage);
pixman_region32_intersect_rect(&surface->damage, &surface->damage, pixman_region32_intersect_rect(&surface->damage, &surface->damage,
0, 0, surface->width, surface->height); 0, 0, surface->width, surface->height);
pixman_region32_clear(&surface->pending.damage); pixman_region32_clear(&state->damage);
/* wl_surface.set_opaque_region */ /* wl_surface.set_opaque_region */
pixman_region32_init(&opaque); pixman_region32_init(&opaque);

Loading…
Cancel
Save