diff --git a/core/src/processing/core/PConstants.java b/core/src/processing/core/PConstants.java
index c7d6e8395..6792ec054 100644
--- a/core/src/processing/core/PConstants.java
+++ b/core/src/processing/core/PConstants.java
@@ -520,5 +520,8 @@ public interface PConstants {
static final int DISABLE_KEY_REPEAT = 11;
static final int ENABLE_KEY_REPEAT = -11;
- static final int HINT_COUNT = 12;
+ static final int DISABLE_ASYNC_SAVEFRAME = 12;
+ static final int ENABLE_ASYNC_SAVEFRAME = -12;
+
+ static final int HINT_COUNT = 13;
}
diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java
index 6ed48dc90..16d617526 100644
--- a/core/src/processing/core/PGraphics.java
+++ b/core/src/processing/core/PGraphics.java
@@ -1126,6 +1126,11 @@ public class PGraphics extends PImage implements PConstants {
* (including auto-repeated). Call hint(DISABLE_KEY_REPEAT) to get events
* only when the key goes physically up or down.
*
+ * hint(DISABLE_ASYNC_SAVEFRAME) - P2D/P3D only - save() and saveFrame()
+ * will not use separate threads for saving and will block until the image
+ * is written to the drive. This was the default behavior in 3.0b7 and before.
+ * To enable, call hint(ENABLE_ASYNC_SAVEFRAME).
+ *
* As of release 0149, unhint() has been removed in favor of adding
* additional ENABLE/DISABLE constants to reset the default behavior. This
* prevents the double negatives, and also reinforces which hints can be