diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-20 13:49:41 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-20 13:49:41 -0600 |
commit | ad716acc7fa7fd151ff96fe6d17f0ba1a3a66379 (patch) | |
tree | 810d04a5e8892aaa5f82c486b272d93f6cfd50b4 /libdimension/tests | |
parent | 5770d22635a63fb745bc0f3cd3dee573a6b356b6 (diff) | |
download | dimension-ad716acc7fa7fd151ff96fe6d17f0ba1a3a66379.tar.xz |
Add a refcount to canvases.
Diffstat (limited to 'libdimension/tests')
-rw-r--r-- | libdimension/tests/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/tests/render.c b/libdimension/tests/render.c index a487224..f35f5bb 100644 --- a/libdimension/tests/render.c +++ b/libdimension/tests/render.c @@ -40,7 +40,7 @@ dmnsn_new_test_scene(void) ); /* Allocate a canvas */ - scene->canvas = dmnsn_new_canvas(768, 480); + dmnsn_scene_set_canvas(scene, dmnsn_new_canvas(768, 480)); /* Set up the transformation matrix for the perspective camera */ dmnsn_matrix trans = dmnsn_scale_matrix( |