forked from joejulian/gio
internal/gl: avoid excessive Cgo pointer checks
As suggested by Egon Elbre, passing a large struct of function pointers forces Cgo checks on all of the pointer on every Cgo call. This change instead passes only the relevant function pointer. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+579
-489
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user