Empty pending pictures queue on EXTRA_FLAG_EMPTY_TEXTURE_QUEUE (#6)

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>