diff --git a/pixelgl/interface.go b/pixelgl/interface.go index 90b433a..c1d7c6c 100644 --- a/pixelgl/interface.go +++ b/pixelgl/interface.go @@ -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 diff --git a/pixelgl/thread.go b/pixelgl/thread.go index e81257a..ffb2a61 100644 --- a/pixelgl/thread.go +++ b/pixelgl/thread.go @@ -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