Every time Processing gets updated, I have to come up with a different solution for this.
I have a small (say 320x240) PGraphics as an off-screen buffer to draw on. Then I want to stretch this PGraphics over the whole screen, but without any filtering! I want to see the hard-edged blown-up pixels.
In the 2.0 preview builds, I always used
((PGraphicsOpenGL)g).textureSampling(2);
in my setup() method. (got this from
here)
This has stopped working!
Please, can anyone help me out on this, I use pixel-art in my sketches and that just looks bad with filtering.