summaryrefslogtreecommitdiffstats
path: root/dimension/realize.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-12-16 19:25:11 -0500
committerTavian Barnes <tavianator@gmail.com>2009-12-16 19:25:11 -0500
commitfb8fb378dcce0564085eb6222053a0db57eb480c (patch)
tree7f2521cb72df33d39c7cdf28b0c4187bb1088d71 /dimension/realize.c
parent728d06945f7cdee8e459d71f5dabbeeb9f1e1207 (diff)
downloaddimension-fb8fb378dcce0564085eb6222053a0db57eb480c.tar.xz
Accept width and height command-line arguments.
Diffstat (limited to 'dimension/realize.c')
-rw-r--r--dimension/realize.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/dimension/realize.c b/dimension/realize.c
index d030a76..1a42be9 100644
--- a/dimension/realize.c
+++ b/dimension/realize.c
@@ -555,13 +555,6 @@ dmnsn_realize(const dmnsn_array *astree)
/* Background color */
scene->background = dmnsn_black;
- /* Allocate a canvas */
- scene->canvas = dmnsn_new_canvas(768, 480);
- if (!scene->canvas) {
- dmnsn_delete_scene(scene);
- return NULL;
- }
-
/* Create the default perspective camera */
scene->camera = dmnsn_new_perspective_camera();
if (!scene->camera) {