nouveau: fix build

This commit is contained in:
Ben Skeggs 2007-12-11 10:04:39 +11:00
parent fe9f4f49ef
commit 4bc3cfaaf0
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ DRIVER_SOURCES = \
nv50_surface.c
C_SOURCES = \
$(COMMON_SOURCES) \
$(COMMON_GALLIUM_SOURCES) \
$(DRIVER_SOURCES)
ASM_SOURCES =

View file

@ -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;