Wait for the sync fence when graphic driver returns rendering buffer

Signed-off-by: Simon Busch <morphis@gravedo.de>