Odin » Forums » SDL2, OpenGL ES 2.0 example for Windows / Linux
Procedural
3 posts

None

#11710 SDL2, OpenGL ES 2.0 example for Windows / Linux
3 months, 1 week 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


None
gingerBill
Ginger Bill
199 posts
2 projects

I am ginger thus have no soul.

#11714 SDL2, OpenGL ES 2.0 example for Windows / Linux
3 months, 1 week ago

This is damn bloody cool!!!
gi_cho
Josh Taylor
1 posts
#11744 SDL2, OpenGL ES 2.0 example for Windows / Linux
3 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
3 posts

None

#11749 SDL2, OpenGL ES 2.0 example for Windows / Linux
3 months ago

Added Linux binaries to .gitignore. The only dependency is SDL2 for Linux, for Windows all the required dlls are in the repo :)

None
CaptainKraft
Jeremiah
143 posts
2 projects

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

#11778 SDL2, OpenGL ES 2.0 example for Windows / Linux
2 months, 4 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.