aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/include/Helpers.h
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2018-03-10 15:43:36 +0100
committerAndreas Grois <andi@grois.info>2018-03-10 15:43:36 +0100
commit704ecb6bbabe4a73c45bb6ae2433754bb8260bde (patch)
treeeb0f4a46c4cca4ff3a77ad387a8b1e28e4f4a4ff /BuddhaTest/include/Helpers.h
parenta0afe4bf8c011222b85c481ae209b09f75189858 (diff)
Gamma correction for output
Diffstat (limited to 'BuddhaTest/include/Helpers.h')
-rw-r--r--BuddhaTest/include/Helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuddhaTest/include/Helpers.h b/BuddhaTest/include/Helpers.h
index a4bf15d..e4b7ffd 100644
--- a/BuddhaTest/include/Helpers.h
+++ b/BuddhaTest/include/Helpers.h
@@ -9,7 +9,7 @@ namespace Helpers
GLuint LoadShaders(const char * vertex_file_path, const char * fragment_file_path);
GLuint LoadComputeShader(const char * compute_file_path, unsigned int localSizeX, unsigned int localSizeY, unsigned int localSizeZ);
- void WriteOutputPNG(const std::vector<uint32_t>& data, unsigned int width, unsigned int bufferHeight);
+ void WriteOutputPNG(const std::vector<uint32_t>& data, unsigned int width, unsigned int bufferHeight, double gamma);
/** Wraps around a C file descriptor. Libpng could be taught to use C++ streams, but I'm too lazy and rather wrap this ugly thing up, so it gets cleaned... */
class ScopedCFileDescriptor