diff options
Diffstat (limited to 'examples/cl_convolution.cpp')
-rw-r--r-- | examples/cl_convolution.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/cl_convolution.cpp b/examples/cl_convolution.cpp index 8f3d7e3a30..b15bbb6cb4 100644 --- a/examples/cl_convolution.cpp +++ b/examples/cl_convolution.cpp @@ -57,7 +57,7 @@ const int16_t gaussian5x5[] = class CLConvolutionExample : public Example { public: - void do_setup(int argc, char **argv) override + bool do_setup(int argc, char **argv) override { PPMLoader ppm; @@ -95,6 +95,8 @@ public: ppm.fill_image(src); output_filename = std::string(argv[1]) + "_out.ppm"; } + + return true; } void do_run() override { |