4 ms·
glfw is very widely known because it's usually one of the recommended libraries to use when starting out graphics programming. It basically a cross platform lib
by hsn915 5y ago
glfw is very widely known because it's usually one of the recommended libraries to use when starting out graphics programming. It basically a cross platform library to create a window and initialize an opengl context .. or something like that. (It's been _many_ years since I last used it).
- iamcreasy 5y agoIs it safe to say that SDL is a strict superset of GLFW?
- slimsag 5y agoI think that is a reasonable statement. SDL includes other functionality like image loading, audio, etc. whereas GLFW is primarily focused just with getting a window with a graphics context for OpenGL/Vulkan/etc set up.
- cyber_kinetist 5y agoSDL’s advantage is that it supports more platforms (like mobile and Switch), and is much more battle-tested with hundreds of games using it, including Valve’s ones. Many people seem to use SDL for only windowing and input and seem okay with it.