Odin»Forums
[Deleted User]
39 posts
SDL2, OpenGL ES 2.0 example for Windows / Linux
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
222 posts / 3 projects
I am ginger thus have no soul.
SDL2, OpenGL ES 2.0 example for Windows / Linux
This is damn bloody cool!!!
Josh Taylor
1 posts
SDL2, OpenGL ES 2.0 example for Windows / Linux
Edited by Josh Taylor on
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!
[Deleted User]
39 posts
SDL2, OpenGL ES 2.0 example for Windows / Linux
Added Linux binaries to .gitignore. The only dependency is SDL2 for Linux, for Windows all the required dlls are in the repo :)
Jeremiah Goerdt
208 posts / 1 project
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
SDL2, OpenGL ES 2.0 example for Windows / Linux
Dammit, I don't need this kind of distraction right now :-P