mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
take care of #2465
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user