From 82672bb12cb86aab010d9fba92d709db35297161 Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Sat, 10 Mar 2018 21:37:43 +0100 Subject: Fix wrong max pixel output. Forgot to update this when I reduced the buffer size by a factor of two. --- BuddhaTest/src/Helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BuddhaTest/src') 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; -- cgit v1.2.3