Page 1 of 1

SDL rendering funk

Posted: January 22nd, 2022, 8:47 pm
by godthatiamm8
why is SDL evil?

(SDL_Rect) {250, 150, 200, 200};

Re: SDL rendering funk

Posted: January 22nd, 2022, 9:01 pm
by godthatiamm8
after doing some science
god still hates me, but it was SDL_RenderDrawRect.
SDL_RenderFillRect Werks.

Re: SDL rendering funk

Posted: January 23rd, 2022, 6:17 am
by albinopapa
Wow, that sucks. It would seem pointless, but I guess you could, if you're wanting outline, fill a white rect, then a smaller black rect.

Re: SDL rendering funk

Posted: January 23rd, 2022, 6:18 am
by albinopapa
Or just draw the four lines yourself.