app/internal/egl,app/internal/window: move Lock/Unlock methods

EGL contexts don't need locking, so their Lock and Unlock methods
are empty. Remove them and add them where necessary instead.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-29 21:29:11 +01:00
parent 15a1261cfc
commit 9b4176c475
5 changed files with 16 additions and 4 deletions
+4
View File
@@ -48,3 +48,7 @@ func (c *context) MakeCurrent() error {
}
return nil
}
func (c *context) Lock() {}
func (c *context) Unlock() {}