From 492d3583cac9353439dc37c4c724c94c4b479d98 Mon Sep 17 00:00:00 2001 From: benfry Date: Sat, 10 Oct 2009 01:16:31 +0000 Subject: [PATCH] fix filter(OPAQUE) / filter(RGB) (bug #1346) --- core/src/processing/core/PImage.java | 2 +- core/todo.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/core/src/processing/core/PImage.java b/core/src/processing/core/PImage.java index 0c64c43e6..c1b38f095 100644 --- a/core/src/processing/core/PImage.java +++ b/core/src/processing/core/PImage.java @@ -691,7 +691,7 @@ public class PImage implements PConstants, Cloneable { throw new RuntimeException("Use filter(POSTERIZE, int levels) " + "instead of filter(POSTERIZE)"); - case RGB: + case OPAQUE: for (int i = 0; i < pixels.length; i++) { pixels[i] |= 0xff000000; } diff --git a/core/todo.txt b/core/todo.txt index 4d425a0bd..f8f57275f 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,6 +1,12 @@ 0170 core X added some min/max functions that work with doubles X not sure if those are staying in or not +X filter(RGB) supposed to be filter(OPAQUE) +X http://dev.processing.org/bugs/show_bug.cgi?id=1346 + +_ opengl camera does not update on current frame (has to do a second frame) + +_ camera problems may be coming from "cameraNear = -8" line _ key and mouse events delivered out of order _ http://dev.processing.org/bugs/show_bug.cgi?id=638