From 2c7d464abca27743f985547b57c75b1e43b65789 Mon Sep 17 00:00:00 2001 From: SoftCoder Date: Sun, 12 Jan 2014 09:59:08 -0800 Subject: [PATCH] - remove console output for pbo's --- source/shared_lib/sources/graphics/model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/shared_lib/sources/graphics/model.cpp b/source/shared_lib/sources/graphics/model.cpp index 2bcc87f7..e3bf3cfb 100644 --- a/source/shared_lib/sources/graphics/model.cpp +++ b/source/shared_lib/sources/graphics/model.cpp @@ -1761,7 +1761,7 @@ PixelBufferWrapper::PixelBufferWrapper(int pboCount,int bufferSize) { // for(int i = 0; i < pboCount; ++i) { - printf("PBO Gen i = %d\n",i); + if(SystemFlags::VERBOSE_MODE_ENABLED) printf("PBO Gen i = %d\n",i); pboIds.push_back(0); glGenBuffersARB(1, (GLuint*)&pboIds[i]); @@ -1840,7 +1840,7 @@ void PixelBufferWrapper::end() { void PixelBufferWrapper::cleanup() { if(PixelBufferWrapper::isPBOEnabled == true) { if(pboIds.empty() == false) { - printf("PBO Delete size = %d\n",(int)pboIds.size()); + if(SystemFlags::VERBOSE_MODE_ENABLED) printf("PBO Delete size = %d\n",(int)pboIds.size()); glDeleteBuffersARB((int)pboIds.size(), &pboIds[0]); pboIds.clear();