From 3b929ad5c3f2a43444a7160ab789c53b41325e5c Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Wed, 23 Nov 2016 23:33:40 +0100 Subject: [PATCH] clarity doc --- pixelgl/thread.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pixelgl/thread.go b/pixelgl/thread.go index c78c6e0..9b9ecc2 100644 --- a/pixelgl/thread.go +++ b/pixelgl/thread.go @@ -23,6 +23,7 @@ func init() { } // Init initializes OpenGL by loading the function pointers from the active OpenGL context. +// This function must be manually run inside the dedicated thread (Do, DoErr, DoVal, etc.). // // It must be called under the presence of an active OpenGL context, e.g., always after calling window.MakeContextCurrent(). // Also, always call this function when switching contexts. -- GitLab