Working OpenGL 3 pipeline