Types of flushing options
#include <screen/screen.h>
enum { SCREEN_WAIT_IDLE = (1 << 0), SCREEN_DONT_BLOCK = (1 << 5) };
These options aren't valid for the screen_acquire_buffer() function. If you are calling screen_acquire_buffer(), use Screen acquire buffer flags instead.