Skip to content

Commit db256a6

Browse files
committed
Correct hint documentation
1 parent 2f085ea commit db256a6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/processing/core/PGraphics.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,18 +1112,18 @@ protected void reapplySettings() {
11121112
* hint(DISABLE_OPENGL_ERROR_REPORT) - Speeds up the P3D renderer setting
11131113
* by not checking for errors while running. Undo with hint(ENABLE_OPENGL_ERROR_REPORT).
11141114
* <br/> <br/>
1115-
* hint(ENABLE_DEPTH_READING) - Depth and stencil buffers in P2D/P3D will be
1115+
* hint(ENABLE_BUFFER_READING) - Depth and stencil buffers in P2D/P3D will be
11161116
* downsampled to make PGL#readPixels work with multisampling. Enabling this
11171117
* introduces some overhead, so if you experience bad performance, disable
11181118
* multisampling with noSmooth() instead. This hint is not intended to be
11191119
* enabled and disabled repeatedely, so call this once in setup() or after
11201120
* creating your PGraphics2D/3D. You can restore the default with
1121-
* hint(DISABLE_DEPTH_READING) if you don't plan to read depth from
1121+
* hint(DISABLE_BUFFER_READING) if you don't plan to read depth from
11221122
* this PGraphics anymore.
11231123
* <br/> <br/>
1124-
* hint(ENABLE_KEY_AUTO_REPEAT) - Auto-repeating key events are discarded
1124+
* hint(ENABLE_KEY_REPEAT) - Auto-repeating key events are discarded
11251125
* by default (works only in P2D/P3D); use this hint to get all the key events
1126-
* (including auto-repeated). Call hint(DISABLE_KEY_AUTO_REPEAT) to get events
1126+
* (including auto-repeated). Call hint(DISABLE_KEY_REPEAT) to get events
11271127
* only when the key goes physically up or down.
11281128
* <br/> <br/>
11291129
* As of release 0149, unhint() has been removed in favor of adding

0 commit comments

Comments
 (0)