Sign in to follow this  
efplaya

opengl + sdl + golang cannot draw simple triangle

Recommended Posts

Hello all,

 

I'm working on creating a simple game with the Go programming language and running into a few opengl/sdl issues. I'm not sure if this is a bindings issue or syntax/semantics issue but I need some help here.  I created a basic opengl 3.3 scene with sdl as the windowing framework. All i'm trying to do is display a simple triangle. However; the background changes but I see no triangle.  I have posted this on many forums and everyone seems stumped. To save myself and everyone from cross posting I will just link to my original stackoverflow article.

 

http://stackoverflow.com/questions/27913078/go-lang-opengl-simple-shape-blank-screen

 

Thanks. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this