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
@@ -46,6 +46,7 @@ func newContext(w *window) (*context, error) {
ctx: ctx,
owner: w,
layer: C.CFTypeRef(w.contextLayer()),
c: new(gl.Functions),
}
return c, nil
}