void _init(void) #endif { // Fix up the static GL entrypoints, if necessary entry_init_public(); __glDispatchInit(); // Register these entrypoints with GLdispatch so they can be // overwritten at runtime patchStubId = __glDispatchRegisterStubCallbacks(stub_get_patch_callbacks()); }
void _glapi_init(void) { u_current_init(); entry_init_public(); }