diff options
author | Brian Paul <[email protected]> | 2013-06-24 14:42:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-06-25 17:54:23 -0600 |
commit | 82d6a525309c0855e16ccdccaa8d9740682947a3 (patch) | |
tree | 560005fe29dff0bb07fdc99774fd488073861131 /src/gallium/drivers | |
parent | 464c6949cb2998b80f4a2d70add99e6a7cf8c67d (diff) |
svga: use svga_texture() helper instead of casting
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index 3cb7d34bad0..cb825b41206 100644 --- a/src/gallium/drivers/svga/svga_resource_texture.c +++ b/src/gallium/drivers/svga/svga_resource_texture.c @@ -218,7 +218,7 @@ svga_texture_destroy(struct pipe_screen *screen, struct pipe_resource *pt) { struct svga_screen *ss = svga_screen(screen); - struct svga_texture *tex = (struct svga_texture *)pt; + struct svga_texture *tex = svga_texture(pt); ss->texture_timestamp++; |