aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2018-03-10 21:37:43 +0100
committerAndreas Grois <andi@grois.info>2018-03-10 21:37:43 +0100
commit82672bb12cb86aab010d9fba92d709db35297161 (patch)
tree741870178dffa11458d183ee6c321c3511883bc9
parentb8d29915824d85adf0cf2f0035e58598a7e277bd (diff)
Fix wrong max pixel output. Forgot to update this when I reduced the buffer size by a factor of two.
-rw-r--r--BuddhaTest/src/Helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuddhaTest/src/Helpers.cpp b/BuddhaTest/src/Helpers.cpp
index cb48d94..e6aa635 100644
--- a/BuddhaTest/src/Helpers.cpp
+++ b/BuddhaTest/src/Helpers.cpp
@@ -267,7 +267,7 @@ namespace Helpers
glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE,&maxSSBOSize);
if(pixelCount * 4 > maxSSBOSize)
{
- std::cout << "Requested buffer size larger than maximum allowed by graphics driver. Max pixel number: " << maxSSBOSize/12 << std::endl;
+ std::cout << "Requested buffer size larger than maximum allowed by graphics driver. Max pixel number: " << maxSSBOSize/6 << std::endl;
return false;
}
int WorkGroupSizeLimitX, WorkGroupSizeLimitY, WorkGroupSizeLimitZ;