diff --git a/pixelgl/thread.go b/pixelgl/thread.go index b4b5800..0dda9b9 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() {