graphics: Fix comments again

This commit is contained in:
Hajime Hoshi 2019-06-24 17:22:38 +09:00
parent f008c6ab80
commit 26296993f8

View File

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