sdlGlGetProcAddressEx function
Implementation
SDLglproc sdlGlGetProcAddressEx(String proc) {
final sdlGlGetProcAddressExLookupFunction = libSdl3.lookupFunction<
SDLglproc Function(Pointer<Utf8> proc),
SDLglproc Function(Pointer<Utf8> proc)>('SDL_GL_GetProcAddress');
final procPointer = proc.toNativeUtf8();
final result = sdlGlGetProcAddressExLookupFunction(procPointer);
calloc.free(procPointer);
return result;
}