diff options
author | Corbin Simpson <[email protected]> | 2009-02-01 23:58:16 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:58:16 -0800 |
commit | ce6710e369d3b5c512ba8b315efc863fd41de734 (patch) | |
tree | 3ea7393964883fd579f2d93d542f6eff884833cf /src/gallium/drivers/r300/r300_texture.c | |
parent | 38f610e5360a2beb46f92e75942745cfbfbac22a (diff) |
r300: Clean up after rebase.
Fix a couple struct members, clear up a few texture lines.
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index eb7c9d06f53..ae2d525d78b 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -58,7 +58,7 @@ static struct pipe_texture* r300_texture_create(struct pipe_screen* screen, const struct pipe_texture* template) { - struct r300_screen* r300screen = r300_screen(screen); + /* XXX struct r300_screen* r300screen = r300_screen(screen); */ struct r300_texture* tex = CALLOC_STRUCT(r300_texture); @@ -72,9 +72,9 @@ static struct pipe_texture* r300_setup_miptree(tex); - tex->buffer = screen->winsys->buffer_create(screen->winsys, 32, - PIPE_BUFFER_USAGE_PIXEL, - tex->size); + tex->buffer = screen->buffer_create(screen->winsys, 32, + PIPE_BUFFER_USAGE_PIXEL, + tex->size); if (!tex->buffer) { FREE(tex); |