forked from joejulian/gio
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:
@@ -67,3 +67,7 @@ func (c *context) MakeCurrent() error {
|
||||
}
|
||||
return c.Context.MakeCurrent()
|
||||
}
|
||||
|
||||
func (c *context) Lock() {}
|
||||
|
||||
func (c *context) Unlock() {}
|
||||
|
||||
Reference in New Issue
Block a user