Register
Odin»Forums»SDL2, OpenGL ES 2.0 example for Windows / Linux
37 posts / 1 project
SDL2, OpenGL ES 2.0 example for Windows / Linux
2 years, 7 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

Ginger Bill
226 posts / 2 projects

I am ginger thus have no soul.

SDL2, OpenGL ES 2.0 example for Windows / Linux
2 years, 7 months ago
This is damn bloody cool!!!
Josh Taylor
1 posts
SDL2, OpenGL ES 2.0 example for Windows / Linux
2 years, 7 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!
37 posts / 1 project
SDL2, OpenGL ES 2.0 example for Windows / Linux
2 years, 7 months ago
Added Linux binaries to .gitignore. The only dependency is SDL2 for Linux, for Windows all the required dlls are in the repo :)
Jeremiah Goerdt
215 posts / 2 projects

Stay-at-home Dad, Programmer, and Linux apologist.

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