From ae7066710427832d80ca06b5c07db4cc4ae97055 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Fri, 5 Dec 2014 22:07:30 -0500 Subject: [PATCH] Deprecate WrapMode.BorderClamp since it is deprecated in OGL3+ --- jme3-core/src/main/java/com/jme3/texture/Texture.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jme3-core/src/main/java/com/jme3/texture/Texture.java b/jme3-core/src/main/java/com/jme3/texture/Texture.java index bde6b4645..45cda623f 100644 --- a/jme3-core/src/main/java/com/jme3/texture/Texture.java +++ b/jme3-core/src/main/java/com/jme3/texture/Texture.java @@ -213,7 +213,10 @@ public abstract class Texture implements CloneableSmartAsset, Savable, Cloneable * coordinate will be clamped to the range [-1/(2N), 1 + 1/(2N)] where N * is the size of the texture in the direction of clamping. Falls back * on Clamp if not supported. + * + * @deprecated Not supported by OpenGL 3 or OpenGL ES 2 */ + @Deprecated BorderClamp, /** * Wrap mode MIRROR_CLAMP_TO_BORDER_EXT mirrors and clamps to border the