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:
Elias Naur
2022-06-27 11:08:19 +02:00
parent fa538f219f
commit dab796808a
+579 -489
View File
File diff suppressed because it is too large Load Diff