bindbc-opengl: Now drawing triangle

Luhrel lucien.perregaux at gmail.com
Sat Jan 25 19:52:25 UTC 2020


Hello,

I made a simple OpenGL file using bindbc-opengl and glfw 
(https://pastebin.com/ehmcHwxj) based on 
https://github.com/SonarSystems/Modern-OpenGL-Tutorials/blob/master/%5BGETTING%20STARTED%5D/%5B1%5D%20Triangle/main.cpp

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 ?



More information about the Digitalmars-d-learn mailing list