Fixed build on OpenGL ES.