Commit e1789893 authored by Committed by Eric Anholt
get_spans: Check whether have a valid fbo before check format.
If a pixmap is a pure in-memory pixmap, we do not need to check its format. Format checking has more overhead than checking FBO, so we change to check fbo firtly. Signed-off-by: Zhigang Gong <firstname.lastname@example.org>
Showing with 8 additions and 3 deletions