diff options
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/app_aobench.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/app_aobench.rb b/benchmark/app_aobench.rb index 5921ec70bd..b5852023ee 100644 --- a/benchmark/app_aobench.rb +++ b/benchmark/app_aobench.rb @@ -11,6 +11,8 @@ IMAGE_HEIGHT = 256 NSUBSAMPLES = 2 NAO_SAMPLES = 8 +srand(0) + class Vec def initialize(x, y, z) @x = x @@ -282,8 +284,6 @@ alias printf_orig printf def printf *args end -srand(0) - # File.open("ao.ppm", "w") do |fp| printf("P6\n") printf("%d %d\n", IMAGE_WIDTH, IMAGE_HEIGHT) |