clarity doc
This commit is contained in:
parent
62bc194ee4
commit
3b929ad5c3
|
@ -23,6 +23,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Init initializes OpenGL by loading the function pointers from the active OpenGL context.
|
// 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().
|
// 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.
|
// Also, always call this function when switching contexts.
|
||||||
|
|
Loading…
Reference in New Issue