*/
static __DRIscreen *
driCreateNewScreen2(int scrn, int fd,
- const __DRIextension **extensions,
+ const __DRIextension **loader_extensions,
const __DRIextension **driver_extensions,
const __DRIconfig ***driver_configs, void *data)
{
}
}
- setupLoaderExtensions(screen, extensions);
+ setupLoaderExtensions(screen, loader_extensions);
// dri2 drivers require working invalidate
if (fd != -1 && !screen->dri2.useInvalidate) {
free(screen);
screen->loaderPrivate = data;
+ /* This will be filled in by backend->InitScreen(). */
screen->extensions = emptyExtensionList;
screen->fd = fd;
screen->myNum = scrn;