SDL2 rendered upside-down on specific machine


I’ve been developing a game using SDL2_GPU for a few months with a friend now.

It’s been all fine, until I changed my OS from Windows 10 to Ubuntu.

My friend was using Linux (Arch) as well since the beginning, he never had a problem.

But since I’ve changed my OS everything renders upside-down when I launch the binary. He even send me his binary which worked fine but for me it’s upside down. I’ve tried other games using SDL2 as well, like Teeworlds which work fine.

Does anyone have an idea? I have literally no clue why this happens

Since SDL_gpu is in charge of the rendering in your project, you should open an issue on its Github page and we can figure it out and follow up there: