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:
@@ -107,10 +107,6 @@ func (c *Context) Functions() *gl.Functions {
|
||||
return c.c
|
||||
}
|
||||
|
||||
func (c *Context) Lock() {}
|
||||
|
||||
func (c *Context) Unlock() {}
|
||||
|
||||
func (c *Context) ReleaseSurface() {
|
||||
if c.eglSurf == nilEGLSurface {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user