From e00b337d8a7a8bd14eb6f3c13146bcc6a0dc2b44 Mon Sep 17 00:00:00 2001 From: Ali-RS Date: Sat, 11 Feb 2023 09:54:17 +0330 Subject: [PATCH] Update RenderState.setLineWidth javadoc. --- jme3-core/src/main/java/com/jme3/material/RenderState.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jme3-core/src/main/java/com/jme3/material/RenderState.java b/jme3-core/src/main/java/com/jme3/material/RenderState.java index 8ab3043184..e0be1f0563 100644 --- a/jme3-core/src/main/java/com/jme3/material/RenderState.java +++ b/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 void setDepthFunc(TestFunction depthFunc) { * 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. */