From 48d275a01baaff68a0c055dd77664b5d0f22d70d Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Sat, 10 Mar 2018 00:14:46 +0100 Subject: Dump result to image.png in current folder. --- BuddhaTest/include/Helpers.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'BuddhaTest/include') diff --git a/BuddhaTest/include/Helpers.h b/BuddhaTest/include/Helpers.h index 05ad151..c24e2c7 100644 --- a/BuddhaTest/include/Helpers.h +++ b/BuddhaTest/include/Helpers.h @@ -1,9 +1,12 @@ #pragma once #include #include +#include namespace Helpers { GLuint LoadShaders(const char * vertex_file_path, const char * fragment_file_path); GLuint LoadComputeShader(const char * compute_file_path); -} \ No newline at end of file + + void WriteOutputPNG(const std::vector& data, unsigned int width, unsigned int height); +} -- cgit v1.2.3