small cosmetic changes
This commit is contained in:
parent
b50852a3c2
commit
1adcea5920
|
@ -23,7 +23,7 @@ package pixelgl
|
|||
// shader = NewShader(window)
|
||||
// texture = NewTexture(shader)
|
||||
// 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()
|
||||
//
|
||||
// The final single call to draw a vertex array executes all of the Begins and Ends, because the objects are
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
package pixelgl
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
)
|
||||
import "runtime"
|
||||
|
||||
// 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
|
||||
|
|
Loading…
Reference in New Issue