forked from joejulian/gio
app: lock explicitly before refreshing contexts
Signed-off-by: Joe Julian <me@joejulian.name>
This commit is contained in:
@@ -111,8 +111,6 @@ func (c *glContext) Unlock() {
|
||||
}
|
||||
|
||||
func (c *glContext) Refresh() error {
|
||||
c.Lock()
|
||||
defer c.Unlock()
|
||||
C.gio_updateContext(c.ctx)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user