Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> A graphics library is usually divided into 3D like *GL variants and 2D like SDL

OpenGL (what I assume you are referring to by *GL) is both 2D and 3D; it also, as one might expect of purely a graphics library, doesn't provide control events or audio and considers that something else's problem.

SDL ("Simple DirectMedia Layer") does do things like control events and audio, but does not describe itself as a graphics library, but as "a cross-platform library designed to make it easy to write multi-media software, such as games and emulators."



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: