diff options
Diffstat (limited to 'src/fb_rawshader/particle_system.c')
-rw-r--r-- | src/fb_rawshader/particle_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fb_rawshader/particle_system.c b/src/fb_rawshader/particle_system.c index 2f4f9ee..050bf06 100644 --- a/src/fb_rawshader/particle_system.c +++ b/src/fb_rawshader/particle_system.c @@ -148,7 +148,7 @@ int main(int argc, char **argv) struct pipe_resource *z_resource = fbdemo_create_2d(fbs->screen, PIPE_BIND_RENDER_TARGET, PIPE_FORMAT_Z16_UNORM, width, height, 0); /* bind render target to framebuffer */ - etna_fb_bind_resource(&fbs->fb, rt_resource); + etna_fb_bind_resource(fbs, rt_resource); /* surfaces */ struct pipe_surface *cbuf = pipe->create_surface(pipe, rt_resource, &(struct pipe_surface){ |