removed unneeded glMapBuffer usage