Bläddra i källkod

Update RenderState.setLineWidth javadoc. (#1948)

Ali-RS 2 år sedan
förälder
incheckning
d4253bcef9
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      jme3-core/src/main/java/com/jme3/material/RenderState.java

+ 3 - 1
jme3-core/src/main/java/com/jme3/material/RenderState.java

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2022 jMonkeyEngine
+ * Copyright (c) 2009-2023 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -983,6 +983,8 @@ public class RenderState implements Cloneable, Savable {
      * Sets the mesh line width.
      * Use this in conjunction with {@link #setWireframe(boolean)} or with a mesh in
      * {@link com.jme3.scene.Mesh.Mode#Lines} mode.
+     * Note: this does not work in OpenGL core profile. It only works in
+     * compatibility profile.
      *
      * @param lineWidth the line width.
      */