Weird buffer issue

I’m making a shooting game as a school task
It was perfectly normal before but today it’s becoming like this
But it works normally when I run it on my school’s computer
Can anyone help me to fix this ?