v0.4.2: Implemented no-lighting shader
Gives a very big performance boost on older devices
This commit is contained in:
@@ -164,7 +164,7 @@ public class Image extends Visual {
|
||||
dirty = false;
|
||||
}
|
||||
|
||||
NoosaScript script = NoosaScript.get();
|
||||
NoosaScript script = script();
|
||||
|
||||
texture.bind();
|
||||
|
||||
@@ -179,6 +179,10 @@ public class Image extends Visual {
|
||||
|
||||
}
|
||||
|
||||
protected NoosaScript script(){
|
||||
return NoosaScript.get();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void destroy() {
|
||||
super.destroy();
|
||||
|
||||
Reference in New Issue
Block a user