mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
ui/app: (macOS) use CFTypeRef for the view factory
The os and gl packages were separate in the past, which required uintptr for cross-package CFTypeRefs. That's no longer needed. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ type context struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
viewFactory = func() uintptr {
|
||||
return uintptr(C.gio_createGLView())
|
||||
viewFactory = func() C.CFTypeRef {
|
||||
return C.gio_createGLView()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user