diff options
Diffstat (limited to 'tests/libdimension/gl.c')
-rw-r--r-- | tests/libdimension/gl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/libdimension/gl.c b/tests/libdimension/gl.c index 00f9819..a2538e3 100644 --- a/tests/libdimension/gl.c +++ b/tests/libdimension/gl.c @@ -33,10 +33,6 @@ main() { /* Create the default test scene */ scene = dmnsn_new_default_scene(); - if (!scene) { - fprintf(stderr, "--- Couldn't create default scene! ---\n"); - return EXIT_FAILURE; - } /* Optimize the canvas for GL drawing */ if (dmnsn_gl_optimize_canvas(scene->canvas) != 0) { @@ -59,12 +55,6 @@ main() { printf("Rendering scene\n"); progress = dmnsn_raytrace_scene_async(scene); - if (!progress) { - dmnsn_delete_display(display); - dmnsn_delete_scene(scene); - fprintf(stderr, "--- Couldn't start raytracing worker thread! ---\n"); - return EXIT_FAILURE; - } /* Display the scene as it's rendered */ while (dmnsn_get_progress(progress) < 1.0) { |