aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/include
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2018-03-10 13:55:50 +0100
committerAndreas Grois <andi@grois.info>2018-03-10 13:55:50 +0100
commita0afe4bf8c011222b85c481ae209b09f75189858 (patch)
tree16c8fa87fa5b5113b2186adfc0b58f3b3549ac90 /BuddhaTest/include
parent710c12067531e6e05280d081203aeb3b945669a9 (diff)
Reduce buffer size by a factor of 2 (image is symmetric)
Diffstat (limited to 'BuddhaTest/include')
-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 8c897d5..a4bf15d 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 height);
+ void WriteOutputPNG(const std::vector<uint32_t>& data, unsigned int width, unsigned int bufferHeight);
/** 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