瀏覽代碼

nv50: fix build in gallium-resources

Not actually tested.

Also needs next patch tee to actually build, this is just the nv50 part
split from the rest.
gallium-resources
Luca Barbieri 15 年之前
父節點
當前提交
5a136ad7b6
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      src/gallium/drivers/nv50/nv50_context.c
  2. 1
    1
      src/gallium/drivers/nv50/nv50_screen.c

+ 1
- 1
src/gallium/drivers/nv50/nv50_context.c 查看文件

@@ -94,7 +94,7 @@ nv50_create(struct pipe_screen *pscreen, void *priv)
nv50_init_surface_functions(nv50);
nv50_init_state_functions(nv50);
nv50_init_query_functions(nv50);
nv50_init_transfer_functions(nv50);
nv50_init_resource_functions(nv50);

nv50->draw = draw_create();
assert(nv50->draw);

+ 1
- 1
src/gallium/drivers/nv50/nv50_screen.c 查看文件

@@ -280,7 +280,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
pscreen->is_format_supported = nv50_screen_is_format_supported;
pscreen->context_create = nv50_create;

nv50_screen_init_miptree_functions(pscreen);
nv50_screen_init_resource_functions(pscreen);

/* DMA engine object */
ret = nouveau_grobj_alloc(chan, 0xbeef5039,

Loading…
取消
儲存