|
|
@ -393,7 +393,6 @@ public class DesktopAssetManager implements AssetManager { |
|
|
|
public Shader loadShader(ShaderKey key){ |
|
|
|
public Shader loadShader(ShaderKey key){ |
|
|
|
// cache abuse in method
|
|
|
|
// cache abuse in method
|
|
|
|
// that doesn't use loaders/locators
|
|
|
|
// that doesn't use loaders/locators
|
|
|
|
System.out.println(); |
|
|
|
|
|
|
|
AssetCache cache = handler.getCache(SimpleAssetCache.class); |
|
|
|
AssetCache cache = handler.getCache(SimpleAssetCache.class); |
|
|
|
Shader shader = (Shader) cache.getFromCache(key); |
|
|
|
Shader shader = (Shader) cache.getFromCache(key); |
|
|
|
if (shader == null){ |
|
|
|
if (shader == null){ |
|
|
|