summaryrefslogtreecommitdiff
path: root/src/fb/mip_cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fb/mip_cube.c')
-rw-r--r--src/fb/mip_cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fb/mip_cube.c b/src/fb/mip_cube.c
index d197078..2b2dae1 100644
--- a/src/fb/mip_cube.c
+++ b/src/fb/mip_cube.c
@@ -273,7 +273,7 @@ int main(int argc, char **argv)
struct pipe_resource *vtx_resource = pipe_buffer_create(fbs->screen, PIPE_BIND_VERTEX_BUFFER, PIPE_USAGE_IMMUTABLE, VERTEX_BUFFER_SIZE);
/* bind render target to framebuffer */
- etna_fb_bind_resource(&fbs->fb, rt_resource);
+ etna_fb_bind_resource(fbs, rt_resource);
/* Phew, now we got all the memory we need.
* Write interleaved attribute vertex stream.