diff options
author | Marek Olšák <[email protected]> | 2010-04-05 18:52:55 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-05 19:21:09 +0200 |
commit | a1f85cf689b6f9ccf6b7310485460f84c8d78cad (patch) | |
tree | f294e10528b0b40ed6c7f151c567804c4d7c3bc9 /src/gallium/drivers/r300/r300_context.c | |
parent | df65e64c294e93d83f6400b29a2a2d1c69db2c5d (diff) |
r300g: typecast using the r300_texture function
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index 46fdf087942..55850e09c3b 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -76,7 +76,7 @@ r300_is_texture_referenced(struct pipe_context *context, unsigned face, unsigned level) { struct r300_context* r300 = r300_context(context); - struct r300_texture* tex = (struct r300_texture*)texture; + struct r300_texture* tex = r300_texture(texture); return r300->rws->is_buffer_referenced(r300->rws, tex->buffer); } |