I've learned some basics on WinAPI and I now want to experiment with creating some 2D simple (maybe later more complex) games. As I understand libraries like SDL,SFML,etc, are just wrappers around "native" Win32 API.
I found of lot similar questions, however they all claimed that SDL,SFML,etc are better than WinAPI because they are portable and easier to learn than WinAPI. I won't need to port my "game"(s) to other platforms now and I don't think that WinAPI is so hard, so why would I need to use SDL?
I want to know what is used for game development nowadays. I mean, I know that vastly major of games aren't created from scratch but from already existing game engine. But I don't want to use game engines, or existing code, I want to code from scratch.
As I understand, bare OpenGL doesn't exist, I'll have to still use some other library like Win32 API or others (SDL,SFML,...).
So what I'm asking is: What is usually used in game development. Is it "native way" Win32 API, or some external libraries like SDL,SFML,...? What do game engines use to render graphics?
Also, I found that some projects are still using WinAPI like Notepad++.
What I have tried:
Searched on the internet, but found nothing.