(Glide64) (GLES) Convert double for loops into do-while loops