another cosmetic change

This commit is contained in:
faiface 2016-11-22 23:22:06 +01:00
parent 1adcea5920
commit c1688cb8c7
1 changed files with 3 additions and 3 deletions

View File

@ -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: // Don't do this! A better practice is to make a BeginEnder so that it wraps another BeginEnder like this:
// //
// shader = NewShader(window) // shader := NewShader(window)
// texture = NewTexture(shader) // texture := NewTexture(shader)
// vertexarray = NewVertexArray(texture) // vertexarray := NewVertexArray(texture)
// // now, somewhere else in your code, instead of calling numerous Begin/Ends, you just call // // now, somewhere else in your code, instead of calling numerous Begin/Ends, you just call
// vertexarray.Draw() // vertexarray.Draw()
// //