began opengl 3 conversion