From 34a3ed18520661d89ea617bbce427ba5d85f1616 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Tue, 22 Apr 2014 16:53:17 -0400 Subject: [PATCH] take care of #2465 --- core/src/processing/opengl/Texture.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/Texture.java b/core/src/processing/opengl/Texture.java index f74da6a6e..db3c165e9 100644 --- a/core/src/processing/opengl/Texture.java +++ b/core/src/processing/opengl/Texture.java @@ -1267,7 +1267,7 @@ public class Texture implements PConstants { pg.setFramebuffer(tempFbo); // Clear the color buffer to make sure that the alpha channel is set to // full transparency - pgl.clearColor(1, 1, 1, 1); + pgl.clearColor(0, 0, 0, 0); pgl.clear(PGL.COLOR_BUFFER_BIT); if (scale) { // Rendering tex into "this", and scaling the source rectangle