Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
grenoire
8y ago
0 comments
Save
Share
The author is handling sprite rendering entirely on the CPU, he's only using OpenGL to put a bitmap on the window. Little bit unnecessary.
0 comments
6 comments · 3 top-level
top
newest
oldest
flohofwoe
8y ago
· 3 in thread
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
)
Narishma
8y ago
SDL is more than enough for something simple like this. You don't need to mess with OpenGL.
weeber
8y ago
Yes with SDL Surfaces.
1 more reply
newnewpdro
8y ago
SDL2 is pretty popular these days
Grieverheart
8y ago
One of my goals is to reuse parts of the engine for future projects where hardware acceleration might be used.
weeber
8y ago
Exactly!
j
/
k
navigate · click thread line to collapse