internal/graphicscommand: add a comment

This commit is contained in:
Hajime Hoshi 2022-02-28 00:15:52 +09:00
parent dd8900ea48
commit ed22052e5f

View File

@ -21,6 +21,8 @@ type Thread interface {
}
// SetRenderingThread must be called from the rendering thread where e.g. OpenGL works.
//
// TODO: Create thread in this package instead of setting it externally.
func SetRenderingThread(thread Thread) {
theThread = thread
}