diff options
author | Zack Rusin <[email protected]> | 2009-01-30 15:56:00 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-01-30 15:57:33 -0500 |
commit | adfbba476db1fc55006efb748656ebb1a481d143 (patch) | |
tree | 98ebea9330cf69f649d49cb8995d2e95d14481db /src/gallium/drivers/nv30/nv30_miptree.c | |
parent | 3cfaccf92a2e0f5ea395a2c95c323a8b762fc156 (diff) |
gallium: make p_winsys internal
move it to pipe/internal/p_winsys_screen.h and start converting
the state trackers to the screen usage
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_miptree.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_miptree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_miptree.c b/src/gallium/drivers/nv30/nv30_miptree.c index bf6c4a1c749..79baac714ce 100644 --- a/src/gallium/drivers/nv30/nv30_miptree.c +++ b/src/gallium/drivers/nv30/nv30_miptree.c @@ -93,7 +93,7 @@ nv30_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt) nv30_miptree_layout(mt); - mt->buffer = ws->_buffer_create(ws, 256, + mt->buffer = ws->buffer_create(ws, 256, PIPE_BUFFER_USAGE_PIXEL | NOUVEAU_BUFFER_USAGE_TEXTURE, mt->total_size); |