small cosmetic changes

This commit is contained in:
faiface 2016-11-22 23:20:28 +01:00
parent b50852a3c2
commit 1adcea5920
2 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,7 @@ package pixelgl
// 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 calling // // now, somewhere else in your code, instead of calling numerous Begin/Ends, you just call
// vertexarray.Draw() // vertexarray.Draw()
// //
// The final single call to draw a vertex array executes all of the Begins and Ends, because the objects are // The final single call to draw a vertex array executes all of the Begins and Ends, because the objects are

View File

@ -1,8 +1,6 @@
package pixelgl package pixelgl
import ( import "runtime"
"runtime"
)
// Due to the existance and usage of thread-local variables by OpenGL, it's recommended to // Due to the existance and usage of thread-local variables by OpenGL, it's recommended to
// execute all OpenGL calls from a single dedicated thread. This file defines functions to make // execute all OpenGL calls from a single dedicated thread. This file defines functions to make