bindbc-opengl: Now drawing triangle

JN 666total at
Sat Jan 25 21:33:09 UTC 2020

On Saturday, 25 January 2020 at 19:52:25 UTC, Luhrel wrote:
> Hello,
> I made a simple OpenGL file using bindbc-opengl and glfw 
> ( based on 
> The cpp project compiles and runs fine (g++ main.cpp -lGL 
> -lglfw -o gl_test && ./gl_test), but my d-translated file not: 
> the triangle isn't shown.
> Do you have any idea ?

I assume it's working now?

For future, learn to use RenderDoc:

it allows you to debug your OpenGL application and see what kind 
of data is sent by your app.

More information about the Digitalmars-d-learn mailing list