vrend: Guard the error with GL_NO_ERROR for any possible glTexImage2D error

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Corentin Noël <corentin.noel@collabora.com>
17 jobs for !799 with glTexImage2D-error-handle
merge request