void dri_destroy_screen(__DRIscreen * sPriv) { struct dri_screen *screen = dri_screen(sPriv); dri_destroy_screen_helper(screen); free(screen); sPriv->driverPrivate = NULL; sPriv->extensions = NULL; }
void dri_destroy_screen(__DRIscreen * sPriv) { struct dri_screen *screen = dri_screen(sPriv); dri_destroy_screen_helper(screen); pipe_loader_release(&screen->dev, 1); free(screen); sPriv->driverPrivate = NULL; sPriv->extensions = NULL; }
void dri_destroy_screen(__DRIscreen * sPriv) { struct dri_screen *screen = dri_screen(sPriv); dri_destroy_screen_helper(screen); #if !GALLIUM_STATIC_TARGETS pipe_loader_release(&screen->dev, 1); #endif // !GALLIUM_STATIC_TARGETS free(screen); sPriv->driverPrivate = NULL; sPriv->extensions = NULL; }