Skip to content

Commit 5ad8de7

Browse files
committed
PGL: update comment
1 parent 4dc3f49 commit 5ad8de7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

core/src/processing/core/PGraphics.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,12 +1111,12 @@ protected void reapplySettings() {
11111111
* by not checking for errors while running. Undo with hint(ENABLE_OPENGL_ERROR_REPORT).
11121112
* <br/> <br/>
11131113
* hint(ENABLE_DEPTH_READING) - Depth and stencil buffers in P2D/P3D will be
1114-
* downsampled to make PGL#getDepthValue, PGL#getStencilValue and PGL#readPixels
1115-
* work with multisampling. Enabling this introduces some overhead, so if you
1116-
* experience bad performance, disable multisampling with noSmooth() instead.
1117-
* This hint is not intended to be enabled and disabled repeatedely, so call this
1118-
* once in setup() or after creating your PGraphics2D/3D. You can restore the
1119-
* default with hint(DISABLE_DEPTH_READING) if you don't plan to read depth from
1114+
* downsampled to make PGL#readPixels work with multisampling. Enabling this
1115+
* introduces some overhead, so if you experience bad performance, disable
1116+
* multisampling with noSmooth() instead. This hint is not intended to be
1117+
* enabled and disabled repeatedely, so call this once in setup() or after
1118+
* creating your PGraphics2D/3D. You can restore the default with
1119+
* hint(DISABLE_DEPTH_READING) if you don't plan to read depth from
11201120
* this PGraphics anymore.
11211121
* <br/> <br/>
11221122
* As of release 0149, unhint() has been removed in favor of adding

0 commit comments

Comments
 (0)