ui/app: add GL buffer caches

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-05-16 21:47:30 +02:00
parent 642318842c
commit da598663f7
5 changed files with 33 additions and 43 deletions
+1
View File
@@ -34,6 +34,7 @@ func newContext(w *window) (*context, error) {
ctx := C.gio_contextForView(w.contextView())
c := &context{
ctx: ctx,
c: new(gl.Functions),
}
return c, nil
}