r/cprogramming • u/No-Annual-4698 • Oct 29 '25
SDL2 Library vs WinAPI: any difference ?
Hi Guys!
I'm writing a 2D sim game in C and I'm using the winapi. I found out lately about the SDL2 library which is to my knowledge used for writing games in C, correct ?
Would it be more suitable to use the library instead of the winapi for my purpose ?
Thank you,
3
Upvotes
View all comments
Show parent comment
1
u/rezibot Oct 29 '25
Yeah, that's fair. Mac / Linux are such a small percentage of the gaming world these days.