render: Check GL error for glEGLImageTargetTexture2DOES

It turns out on Mali GPU, sometimes we have some GL errors on
glEGLImageTargetTexture2DOES on some NV12 format image. Before we
figure out a proper fix, call glGetError to clear it.

Signed-off-by: Lepton Wu <>
Reviewed-by: Chia-I Wu <>
Part-of: <!793>
18 jobs for !793 with df1 in 32 minutes and 41 seconds (queued for 2 seconds)
latest merge request