Пример #1
0
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());
}
Пример #2
0
void
_glapi_init(void)
{
    u_current_init();
    entry_init_public();
}