removed some debug messages

This commit is contained in:
codeanticode
2013-07-08 09:54:09 -04:00
parent 137d86b835
commit 4c943edb97
3 changed files with 0 additions and 4 deletions
-2
View File
@@ -851,14 +851,12 @@ public class Texture implements PConstants {
public void disposeSourceBuffer() {
System.out.println(" in disposeSourceBuffer");
if (usedBuffers == null) return;
while (0 < usedBuffers.size()) {
BufferData data = null;
try {
data = usedBuffers.remove(0);
System.out.println("Disposing " + data + " in disposeSourceBuffer");
} catch (NoSuchElementException ex) {
PGraphics.showWarning("Cannot remove used buffer");
}
@@ -1005,7 +1005,6 @@ public class Capture extends PImage implements PConstants {
// To handle the situation where read() is not called in the sketch, so
// that the native buffers are not being sent to the sinke, and therefore, not disposed
// by it.
System.out.println(" disposing nat buffer before reading new one");
natBuffer.dispose();
}
natBuffer = buffer;
@@ -770,7 +770,6 @@ public class Movie extends PImage implements PConstants {
// To handle the situation where read() is not called in the sketch, so
// that the native buffers are not being sent to the sinke, and therefore, not disposed
// by it.
System.out.println(" disposing nat buffer before reading new one");
natBuffer.dispose();
}
natBuffer = buffer;