No triangle with OpenGL (DerelictGLFW and DerelictGL3)

Peter Lewis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 11 21:58:49 PDT 2016


On Sunday, 12 June 2016 at 03:46:31 UTC, Mike Parker wrote:
> On Sunday, 12 June 2016 at 02:16:52 UTC, Peter Lewis wrote:
>> [...]
>
> Your problem is this line:
>
> glBufferData(GL_ARRAY_BUFFER, verts.sizeof, &verts, 
> GL_STATIC_DRAW);
>
> [...]

Thank you very much. You are right, that fixed my issue


More information about the Digitalmars-d-learn mailing list