SDL rendering funk

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
godthatiamm8
Posts: 2
Joined: January 22nd, 2022, 8:44 pm

SDL rendering funk

Post by godthatiamm8 » January 22nd, 2022, 8:47 pm

why is SDL evil?

(SDL_Rect) {250, 150, 200, 200};
Attachments
2022-01-22_13-38.png
2022-01-22_13-38.png (971 Bytes) Viewed 729 times

godthatiamm8
Posts: 2
Joined: January 22nd, 2022, 8:44 pm

Re: SDL rendering funk

Post by godthatiamm8 » January 22nd, 2022, 9:01 pm

after doing some science
god still hates me, but it was SDL_RenderDrawRect.
SDL_RenderFillRect Werks.
Attachments
2022-01-22_14-00.png
2022-01-22_14-00.png (752 Bytes) Viewed 674 times

albinopapa
Posts: 4370
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: SDL rendering funk

Post by albinopapa » January 23rd, 2022, 6:17 am

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.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

albinopapa
Posts: 4370
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: SDL rendering funk

Post by albinopapa » January 23rd, 2022, 6:18 am

Or just draw the four lines yourself.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply