dma_buf: some fix for dma_buf support

'-m 4' shows blank image though there is not any error from glGetError(),
maybe still my mistake, maybe some issue in mesa.

https://github.com/halleyzhao/yami-share/blob/master/set-yami-mesa.env