Updated to gl3 drawing