diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-12-16 19:25:11 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-12-16 19:25:11 -0500 |
commit | fb8fb378dcce0564085eb6222053a0db57eb480c (patch) | |
tree | 7f2521cb72df33d39c7cdf28b0c4187bb1088d71 /dimension/realize.c | |
parent | 728d06945f7cdee8e459d71f5dabbeeb9f1e1207 (diff) | |
download | dimension-fb8fb378dcce0564085eb6222053a0db57eb480c.tar.xz |
Accept width and height command-line arguments.
Diffstat (limited to 'dimension/realize.c')
-rw-r--r-- | dimension/realize.c | 7 |
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) { |