Testing OpenGL. Drawing Triangle, Resizing window