benchmark/bm_ao_render.rb: enable specifying the size of the image.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-12-12 09:15:23 +09:00
parent 7b84fd4ce8
commit d01707d4cf
+2 -2
View File
@@ -5,8 +5,8 @@
# mruby version by Hideki Miura
#
IMAGE_WIDTH = 64
IMAGE_HEIGHT = 64
IMAGE_WIDTH = Integer(ARGV[0] || 64)
IMAGE_HEIGHT = IMAGE_WIDTH
NSUBSAMPLES = 2
NAO_SAMPLES = 8