[SDL] Triangle will not render (Justin Agrell)

Justin Agrell justin at u4e.us
Thu Sep 18 14:23:34 PDT 2014

You were both right, I was not specifying shaders at all. I decided to
find another example source and modify it to get things working for my

(Original source from:

(my modified source)

This one renders the triangle finally!

I could not get the triangle to render color-per-vertex like in the
example so I removed it. I'm thinking that it didn't work due to my old
laptop (Intel 3000 graphics/GL 3.1) more than the source itself.

Thanks again!

More information about the SDL mailing list