- removed deprecated gl2 code as it was not used