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, ,
GL_STATIC_DRAW);
[...]
Thank you very much. You are right, that fixed my issue
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
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
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.