mirror of
https://github.com/processing/processing4.git
synced 2026-05-05 18:36:09 +02:00
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
This commit is contained in:
@@ -227,7 +227,7 @@ public class PSurfaceAWT extends PSurfaceNone {
|
||||
}
|
||||
|
||||
|
||||
synchronized protected void render() {
|
||||
protected void render() {
|
||||
if (canvas.isDisplayable() &&
|
||||
graphics.image != null) {
|
||||
if (canvas.getBufferStrategy() == null) {
|
||||
|
||||
Reference in New Issue
Block a user