mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
using screen FBO also when quality < 2
This commit is contained in:
@@ -4868,6 +4868,8 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
readPixels();
|
||||
|
||||
if (primarySurface) {
|
||||
// Copy pixels to the texture associated to the primary surface
|
||||
// so both are in sync.
|
||||
loadTextureImpl(POINT, false);
|
||||
pixelsToTexture();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user