diff --git a/jme3-core/src/main/java/com/jme3/shader/Shader.java b/jme3-core/src/main/java/com/jme3/shader/Shader.java index ce20b0edf..c599051cd 100644 --- a/jme3-core/src/main/java/com/jme3/shader/Shader.java +++ b/jme3-core/src/main/java/com/jme3/shader/Shader.java @@ -301,9 +301,9 @@ public final class Shader extends NativeObject { * @param name the storage block's name. * @return the storage block. */ - public StorageBlock getStorageBlock(String name) { + public StorageBlock getStorageBlock(final String name) { - assert name.startsWith("sb_"); + assert name.startsWith("m_"); StorageBlock storageBlock = storageBlocks.get(name); @@ -325,7 +325,7 @@ public final class Shader extends NativeObject { * * @param name the storage block's name. */ - public void removeStorageBlock(String name){ + public void removeStorageBlock(final String name){ storageBlocks.remove(name); }