From dbf9e4fbf824a7ad8536641c2be0695aaa10e85f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 10 Oct 2017 13:56:55 -0700 Subject: broadcom/vc5: Remove the u_resource_vtbl usage. Like for vc4, this was just a wasted indirection. --- src/gallium/drivers/vc5/vc5_resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/vc5/vc5_resource.h') diff --git a/src/gallium/drivers/vc5/vc5_resource.h b/src/gallium/drivers/vc5/vc5_resource.h index 3440fdc947b..e65cb8c8fee 100644 --- a/src/gallium/drivers/vc5/vc5_resource.h +++ b/src/gallium/drivers/vc5/vc5_resource.h @@ -103,7 +103,7 @@ struct vc5_surface { }; struct vc5_resource { - struct u_resource base; + struct pipe_resource base; struct vc5_bo *bo; struct vc5_resource_slice slices[VC5_MAX_MIP_LEVELS]; uint32_t cube_map_stride; -- cgit v1.2.3