Skip to content

Commit

Permalink
Fix for Issue benfry#641
Browse files Browse the repository at this point in the history
  • Loading branch information
mvaladas committed Jun 5, 2023
1 parent 80a5b12 commit 0d3130d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/processing/opengl/PGraphicsOpenGL.java
Original file line number Diff line number Diff line change
Expand Up @@ -1422,12 +1422,13 @@ public void beginDraw() {
}

setViewport();
checkSettings();
if (primaryGraphics) {
beginOnscreenDraw();
} else {
beginOffscreenDraw();
}
checkSettings();


drawing = true;

Expand Down

0 comments on commit 0d3130d

Please sign in to comment.