graphicsdriver/metal: Remove an old comment

Updates #1367
This commit is contained in:
Hajime Hoshi 2020-10-14 01:51:12 +09:00
parent eed619ad0f
commit 249e1c46ba

View File

@ -44,9 +44,6 @@ func (v *view) getMTLDevice() mtl.Device {
} }
func (v *view) setDisplaySyncEnabled(enabled bool) { func (v *view) setDisplaySyncEnabled(enabled bool) {
// TODO: Now SetVsyncEnabled is called only from the main thread, and d.t.Run is not available since
// recursive function call via Run is forbidden.
// Fix this to use d.t.Run to avoid confusion.
v.ml.SetDisplaySyncEnabled(enabled) v.ml.SetDisplaySyncEnabled(enabled)
} }