Re:Writing a game engine in pure C: The Graphic Initialization
by ensiferum on Wednesday June 05, 2019 @01:31PM
(#20106903)
Theres also wdk which can give you open gl es/desktop context and and this is separate from window creation so you can also create a context for headless rendering. Supports window and linux.
https://github.com/ensisoft/wdk/blob/master/sample/triangle....