rpi: Fix logging of buffer swaps for the EGL case

dev
Tomeu Vizoso 11 years ago committed by Kristian Høgsberg
parent 5c3ea3b71a
commit 15767813c2
  1. 3
      src/rpi-renderer.c

@ -969,13 +969,14 @@ rpir_surface_swap_pointers(struct rpir_surface *surface)
surface->egl_old_front = surface->egl_front;
surface->egl_front = surface->egl_back;
surface->egl_back = NULL;
DBG("new front %d\n", surface->egl_front->resource_handle);
}
} else {
tmp = surface->front;
surface->front = surface->back;
surface->back = tmp;
DBG("new back %p, new front %p\n", surface->back, surface->front);
}
DBG("new back %p, new front %p\n", surface->back, surface->front);
}
static int

Loading…
Cancel
Save