Elias Naur
05f0c3e22a
ui/app: (macOS) destroy the GL context correctly
...
The NSOpenGLView owns the NSOpenGLContext so we can't just CFRelease
the context. Use [NSOpenGLView releaseGLContext] instead.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-07-20 16:11:27 +02:00
Elias Naur
1a417d353c
ui/app: fix a few C signatures and a comment typo
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-07-07 16:33:11 +02:00
Elias Naur
a1c0693eeb
ui/app: add Lock/Unlock to Context for macOS
...
Without locking, asynchronous OpenGL rendering crashes on macOS.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-05-24 14:01:26 +02:00
Elias Naur
0f05231c35
all: initial import
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-03-31 10:47:22 +02:00