Ejemplo n.º 1
0
void
ddxPushProviders(void)
{
#ifdef XWIN_GLX_WINDOWS
    if (g_fNativeGl) {
        /* install the native GL provider */
        glxWinPushNativeProvider();
    }
#endif
}
Ejemplo n.º 2
0
/*
 * XwinExtensionInit
 * Initialises Xwin-specific extensions.
 */
static
void XwinExtensionInit(void)
{
#ifdef XWIN_GLX_WINDOWS
    if (g_fNativeGl) {
        /* install the native GL provider */
        glxWinPushNativeProvider();
    }
#endif

    LoadExtensionList(xwinExtensions, ARRAY_SIZE(xwinExtensions), TRUE);
}
Ejemplo n.º 3
0
/*
 * XwinExtensionInit
 * Initialises Xwin-specific extensions.
 */
static
void XwinExtensionInit(void)
{
    int i;

#ifdef XWIN_GLX_WINDOWS
    if (g_fNativeGl) {
        /* install the native GL provider */
        glxWinPushNativeProvider();
    }
#endif

    for (i = 0; i < ARRAY_SIZE(xwinExtensions); i++)
        LoadExtension(&xwinExtensions[i], TRUE);
}