fixed prefix.

JavaSaBr-added_new_var_type
JavaSaBr 7 years ago committed by Nehon
parent cdb42a50c7
commit c6d255c5d8
  1. 6
      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);
}

Loading…
Cancel
Save