Y
Hacker News
new
|
ask
|
show
|
jobs
by
flohofwoe
2939 days ago
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
)
2 comments
Narishma
2939 days ago
SDL is more than enough for something simple like this. You don't need to mess with OpenGL.
link
weeber
2939 days ago
Yes with SDL Surfaces.
link
krapp
2939 days ago
Textures would be better. Surfaces are raw data, but textures are optimized for the individual hardware.
link
newnewpdro
2939 days ago
SDL2 is pretty popular these days
link