Odin » Forums » SDL2, OpenGL ES 2.0 example for Windows / Linux
Procedural
30 posts
#11710 SDL2, OpenGL ES 2.0 example for Windows / Linux
6 months ago

I think it might be useful for people who want to start writing graphics code in Odin:

https://github.com/procedural/odin-sdl2-gles2-triangle

gingerBill
Ginger Bill
212 posts
2 projects

I am ginger thus have no soul.

#11714 SDL2, OpenGL ES 2.0 example for Windows / Linux
6 months ago

This is damn bloody cool!!!
gi_cho
Josh Taylor
1 posts
#11744 SDL2, OpenGL ES 2.0 example for Windows / Linux
6 months ago Edited by Josh Taylor on April 24, 2017, 6:24 a.m.

I agree. This is really awesome. I was considering trying SDL2 in Odin. I would recommend adding binary library files to your gitignore, unless that is something you did on purpose. You can link to the dependencies in your readme file. That's just like my opinion man though. Thanks for sharing!
Procedural
30 posts
#11749 SDL2, OpenGL ES 2.0 example for Windows / Linux
6 months ago

Added Linux binaries to .gitignore. The only dependency is SDL2 for Linux, for Windows all the required dlls are in the repo :)
CaptainKraft
Jeremiah
153 posts
2 projects

Father, husband, C programmer, and Linux apologist. Think before you code.

#11778 SDL2, OpenGL ES 2.0 example for Windows / Linux
5 months, 3 weeks ago

Dammit, I don't need this kind of distraction right now :-P

Build a man a fire, he'll be warm for a day.
Set a man on fire, he'll be warm for the rest of his life.