another cosmetic change
This commit is contained in:
parent
1adcea5920
commit
c1688cb8c7
|
@ -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()
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue