From 9577875fe9effda7af031a1306eac4ee5bf238f7 Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Tue, 3 Oct 2017 16:16:09 -0700 Subject: [PATCH] remove debug printf --- examples/SharedMemory/b3PluginManager.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/SharedMemory/b3PluginManager.cpp b/examples/SharedMemory/b3PluginManager.cpp index afe0c4d25..7ea16c33a 100644 --- a/examples/SharedMemory/b3PluginManager.cpp +++ b/examples/SharedMemory/b3PluginManager.cpp @@ -103,7 +103,6 @@ b3PluginManager::~b3PluginManager() void b3PluginManager::addEvents(const struct b3VRControllerEvent* vrControllerEvents, int numVRControllerEvents, const struct b3KeyboardEvent* keyEvents, int numKeyEvents, const struct b3MouseEvent* mouseEvents, int numMouseEvents) { - static int maxSize = 0; for (int i = 0; i < numKeyEvents; i++) { @@ -113,11 +112,6 @@ void b3PluginManager::addEvents(const struct b3VRControllerEvent* vrControllerEv for (int i = 0; i < numVRControllerEvents; i++) { m_data->m_vrEvents.push_back(vrControllerEvents[i]); - if (m_data->m_vrEvents.size() > maxSize) - { - printf("maxSize=%d\n", maxSize); - maxSize = m_data->m_vrEvents.size(); - } } for (int i = 0; i < numMouseEvents; i++) {