graphics: Fix comments

This commit is contained in:
Hajime Hoshi 2019-06-24 12:54:02 +09:00
parent c492920842
commit f008c6ab80

View File

@ -41,7 +41,7 @@ var (
// isMetalSupported represents whether Metal is supported.
isMetalSupported = true
// isMetalSupportedOnce initialized isMetalSupported.
// isMetalSupportedOnce initializs isMetalSupported.
//
// Use sync.Once instead of init function to avoid init-order dependency (#886).
isMetalSupportedOnce sync.Once