Fix compilation for OpenGL-ES 2.0