mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
app,app/internal/wm: fold context MakeCurrent/ReleaseCurrent into Lock/Unlock
While here, make context Refresh useful and remove the redundant MakeCurrent from the window loop. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -69,11 +69,9 @@ type Callbacks interface {
|
||||
type Context interface {
|
||||
API() gpu.API
|
||||
Present() error
|
||||
MakeCurrent() error
|
||||
ReleaseCurrent()
|
||||
Refresh() error
|
||||
Release()
|
||||
Lock()
|
||||
Lock() error
|
||||
Unlock()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user