diff --git a/pixelgl/interface.go b/pixelgl/interface.go index 90b433ae7c29f60a85f588ab0221dd3c175a0222..c1d7c6cd13d34daee2b61ca20c23960fe5ddbeea 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 e81257ab9aa68331425b5d25bf120a2a9c56745d..ffb2a61173578c28785d6d7a4c3d17b262d9d485 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