We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3025016 + c3cc3fd commit ad2e009Copy full SHA for ad2e009
py5_jar/src/main/java/py5/core/Sketch.java
@@ -259,6 +259,11 @@ public void draw() {
259
if (success && preDrawUpdateRunner != null && !py5RegisteredEvents.contains("post_draw")) {
260
preDrawUpdateRunner.interrupt();
261
}
262
+
263
+ if (frameCount == 1 && platform == LINUX && g.isGL()) {
264
+ // Linux with KDE Plasma window manager and OpenGL need to capture pixels after the last draw() call
265
+ capturePixels();
266
+ }
267
268
269
protected void preDrawUpdate() {
0 commit comments