swithing to OpenGL 3