modified drawing procedure using vertex array object; now it doesn’t throw exception but still doesn’t draw correctly