HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by synergy20 | Hacker News Reader
Full thread
synergy20
·
i think that's what sdl provides? except sdl can do more
View on HN
incanus77
·
No, SDL provides a window/context in the existing windowing layer.
jpc0
·
SDL does not need a windowing layer... There might be better docs somewhere but this should act as enough proof for you without linking directly to the source code.
https://wiki.libsdl.org/SDL2/SDL_HINT_KMSDRM_REQUIRE_DRM_MAS...
incanus77
·
Thank you, I stand corrected! I had used it in the windowing sense and didn’t recall the other option!
bregma
·
SDL can provide a context in the native windowing system, if you ask it to. Or not. You have to ask for it though, it's not the default.
synergy20
·
I think sdl works directly with fb when using fb as a backend,no windows system is needed
Reply on news.ycombinator.com