2 ms·
IMHO SDL mostly makes sense on Linux because it hides a lot of really ugly window system and GLX setup code. On Windows (with Win32+DXGI+D3D11) and macOS (with
by flohofwoe 5y ago
IMHO SDL mostly makes sense on Linux because it hides a lot of really ugly window system and GLX setup code.
On Windows (with Win32+DXGI+D3D11) and macOS (with Cocoa+Metal+MetalKit), things like setting up a window, 3D device and swap chain is just a few lines of relatively straightforward code, so SDL is by far not as useful there as on Linux.
- DarylZero 5y agoSDL does a lot more than open windows. It gives _cross-platform_ graphics, audio, and input handling.