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

GLFW+GL provides a portable way to do this though. Otherwise you'd need to mess with platform-specific window systems.

(something like minifb would be a more minimal option though: https://github.com/emoon/minifb)



SDL is more than enough for something simple like this. You don't need to mess with OpenGL.


Yes with SDL Surfaces.


Textures would be better. Surfaces are raw data, but textures are optimized for the individual hardware.


SDL2 is pretty popular these days




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

Search: