Weird tearing on viewport?

Hey I was wondering if anyone knows how to fix this weird viewport bug, it happens when I don’t move the viewport camera after a few seconds.

Thanks!