3 ms·
Thanks for the informative reply. > and web browsers do a great job. Suppose one had a native linux game that uses POSIX, OpenGL and SDL. Is there any hope?
by smcameron 6y ago
Thanks for the informative reply.
> and web browsers do a great job.
Suppose one had a native linux game that uses POSIX, OpenGL and SDL. Is there any hope?
- gary_0 6y agoHaving given the apelife source a glance, it seems quite possible to me; it already shows you how to create a window on Win32. And SDL2 has already been ported to Emscripten/WASM after all, and OpenGL is really no trouble, since it's usually accessed through a mostly platform-agnostic C API wrapper already (see for example, https://github.com/Dav1dde/glad https://github.com/Dav1dde/glad ). And maybe you could use MinGW to support POSIX on Win32...
- mst 6y agoNow I want to see somebody better at C than me try smashing cosmopolitan and the C version of Dear Imgui together and see what happens.