summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-05-08 22:05:18 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-05-08 22:05:18 -0700
commitce758a21b9984cce14db4234fbe353d06a3a2d32 (patch)
tree81adebe0c3ca081a52377a3f58e6fed53c478f9e /src/gallium/drivers/r300/r300_texture.c
parent1b26c2bbaefe3608b96d9351c0f2eac80274891c (diff)
r300-gallium: Fix bad cast. Space accounting completely works now.
Boy, is my face red. :C
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index 6c9d3b7412..5ea9f56247 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -86,8 +86,6 @@ static struct pipe_texture*
r300_texture_create(struct pipe_screen* screen,
const struct pipe_texture* template)
{
- /* XXX struct r300_screen* r300screen = r300_screen(screen); */
-
struct r300_texture* tex = CALLOC_STRUCT(r300_texture);
if (!tex) {
@@ -187,7 +185,6 @@ static struct pipe_texture*
tex->stride);
pipe_buffer_reference(&tex->buffer, buffer);
- debug_printf("%p is the buffer\n", tex->buffer);
return (struct pipe_texture*)tex;
}