Explorar el Código

nouveau: Minor clean up of winsys

tags/mesa-7.9-rc1
Jakob Bornecrantz hace 15 años
padre
commit
1d98ce511d
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      src/gallium/winsys/nouveau/drm/nouveau_drm_api.c

+ 3
- 2
src/gallium/winsys/nouveau/drm/nouveau_drm_api.c Ver fichero

@@ -146,14 +146,15 @@ nouveau_drm_create_screen(struct drm_api *api, int fd,
return nvws->pscreen;
}

struct drm_api drm_api_hooks = {
static struct drm_api nouveau_drm_api_hooks = {
.name = "nouveau",
.driver_name = "nouveau",
.create_screen = nouveau_drm_create_screen,
.destroy = NULL;
};

struct drm_api *
drm_api_create() {
return &drm_api_hooks;
return &nouveau_drm_api_hooks;
}


Cargando…
Cancelar
Guardar