diff --git a/pixelgl/thread.go b/pixelgl/thread.go index b4b58005711ec28a9dccc07878d6ceab9b008023..0dda9b9d3314fadaec61b6a483cc6565dffba641 100644 --- a/pixelgl/thread.go +++ b/pixelgl/thread.go @@ -11,11 +11,7 @@ import ( // execute all OpenGL calls from a single dedicated thread. This file defines functions to make // it possible. -var ( - callQueue = make(chan func()) - - //TODO: some OpenGL state variables will be here -) +var callQueue = make(chan func()) func init() { go func() {