No triangle with OpenGL (DerelictGLFW and DerelictGL3)

Joerg Joergonson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 11 19:59:33 PDT 2016


On Sunday, 12 June 2016 at 02:16:52 UTC, Peter Lewis wrote:
> Hi all.
> I am trying to create a basic OpenGL triangle in a GLFW 
> instance. The window works, I can change the background colour 
> and everything but for the life of me I can't get the triangle 
> to show up. Instead of trying to put everything in the post, I 
> have put it on github. (https://github.com/werl/d_glfw_tests) I 
> am currently following a tutorial I found 
> (http://learnopengl.com/#!Getting-started/Hello-Triangle).
> Any help is appreciated, Thanks!

I had similar issues when I tried it and never got it to work 
either.

Try Adam Druppe's stuff on github. It works and he has some 
support for images and stuff. It's not perfect but at least it 
works out of the box compared to alot of the other stuff floating 
around that mostly is outdated.



More information about the Digitalmars-d-learn mailing list