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/nv20/nv20_vertprog.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/nv20/nv20_vertprog.c')
-rw-r--r-- | src/gallium/drivers/nv20/nv20_vertprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv20/nv20_vertprog.c b/src/gallium/drivers/nv20/nv20_vertprog.c index c4f3d0f14fb..a885fcd7a56 100644 --- a/src/gallium/drivers/nv20/nv20_vertprog.c +++ b/src/gallium/drivers/nv20/nv20_vertprog.c @@ -749,7 +749,7 @@ nv20_vertprog_validate(struct nv20_context *nv20) float *map = NULL; if (constbuf) { - map = ws->_buffer_map(ws, constbuf, + map = ws->buffer_map(ws, constbuf, PIPE_BUFFER_USAGE_CPU_READ); } @@ -771,7 +771,7 @@ nv20_vertprog_validate(struct nv20_context *nv20) } if (constbuf) { - ws->_buffer_unmap(ws, constbuf); + ws->buffer_unmap(ws, constbuf); } } |