mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
removed some debug messages
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user