fix vsync compile 3