mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 22:00:26 +01:00
nouveau: fix build
This commit is contained in:
parent
fe9f4f49ef
commit
4bc3cfaaf0
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ DRIVER_SOURCES = \
|
|||
nv50_surface.c
|
||||
|
||||
C_SOURCES = \
|
||||
$(COMMON_SOURCES) \
|
||||
$(COMMON_GALLIUM_SOURCES) \
|
||||
$(DRIVER_SOURCES)
|
||||
|
||||
ASM_SOURCES =
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ nv40_miptree_create(struct pipe_context *pipe, struct pipe_texture **pt)
|
|||
memcpy(&nv40mt->base, mt, sizeof(struct pipe_texture));
|
||||
nv40_miptree_layout(nv40mt);
|
||||
|
||||
nv40mt->buffer = ws->buffer_create(ws, 0, PIPE_SURFACE_FLAG_TEXTURE, 0);
|
||||
nv40mt->buffer = ws->buffer_create(ws, 256, 0, 0);
|
||||
if (!nv40mt->buffer) {
|
||||
free(nv40mt);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue