Skip to content
Snippets Groups Projects
Commit c1688cb8 authored by faiface's avatar faiface
Browse files

another cosmetic change

parent 1adcea59
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,9 @@ package pixelgl
//
// Don't do this! A better practice is to make a BeginEnder so that it wraps another BeginEnder like this:
//
// shader = NewShader(window)
// texture = NewTexture(shader)
// vertexarray = NewVertexArray(texture)
// shader := NewShader(window)
// texture := NewTexture(shader)
// vertexarray := NewVertexArray(texture)
// // now, somewhere else in your code, instead of calling numerous Begin/Ends, you just call
// vertexarray.Draw()
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment