Skip to content

Commit 20d0c25

Browse files
authored
Fix for #931
Seems like the synchronised was there for an older approach to rendering. Made redundant by the BufferStrategy in 2015. Now it causes issues on windows if you resize the window too quickly
1 parent 628b69d commit 20d0c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/awt/PSurfaceAWT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public void paint(Graphics screen) {
227227
}
228228

229229

230-
synchronized protected void render() {
230+
protected void render() {
231231
if (canvas.isDisplayable() &&
232232
graphics.image != null) {
233233
if (canvas.getBufferStrategy() == null) {

0 commit comments

Comments
 (0)