rpi: Fix logging of buffer swaps for the EGL case
This commit is contained in:
committed by
Kristian Høgsberg
parent
5c3ea3b71a
commit
15767813c2
+2
-1
@@ -969,13 +969,14 @@ rpir_surface_swap_pointers(struct rpir_surface *surface)
|
|||||||
surface->egl_old_front = surface->egl_front;
|
surface->egl_old_front = surface->egl_front;
|
||||||
surface->egl_front = surface->egl_back;
|
surface->egl_front = surface->egl_back;
|
||||||
surface->egl_back = NULL;
|
surface->egl_back = NULL;
|
||||||
|
DBG("new front %d\n", surface->egl_front->resource_handle);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
tmp = surface->front;
|
tmp = surface->front;
|
||||||
surface->front = surface->back;
|
surface->front = surface->back;
|
||||||
surface->back = tmp;
|
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
|
static int
|
||||||
|
|||||||
Reference in New Issue
Block a user