Open incompetentcoder opened 2 years ago
Hello, the pitch of sdl2_ttf generated surface can be larger than width causing font rendering to be garbage. Simplest fix is to change s->w into s->pitch / 4 in view.cpp. cheers
Beauty fix, hommes. Maybe create a PR?
Hello, the pitch of sdl2_ttf generated surface can be larger than width causing font rendering to be garbage. Simplest fix is to change s->w into s->pitch / 4 in view.cpp. cheers