Skip to content

Commit

Permalink
1977: Fix AppSettings samples javadoc (jMonkeyEngine#2044)
Browse files Browse the repository at this point in the history
* Indicate the default is 0
* Ammended to explain 0 or 1 is single sampled
* Might seem odd without it.
  • Loading branch information
andygibson authored Jul 28, 2023
1 parent 4ce6289 commit 02a006d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jme3-core/src/main/java/com/jme3/system/AppSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -875,12 +875,12 @@ public void setBitsPerPixel(int value) {
}

/**
* Set the number of samples per pixel. A value of 1 indicates
* Set the number of samples per pixel. A value of 0 or 1 indicates
* each pixel should be single-sampled, higher values indicate
* a pixel should be multi-sampled.
*
* @param value The number of samples
* (Default: 1)
* (Default: 0)
*/
public void setSamples(int value) {
putInteger("Samples", value);
Expand Down

0 comments on commit 02a006d

Please sign in to comment.