Avoid an invalid enum on GLES2 texture creation.

My device logs an error, which I'm guessing has perf impact.