113 |
public GL.Texture getTexture(float importance, float pixels) { |
public GL.Texture getTexture(float importance, float pixels) { |
114 |
if(pool == null) { |
if(pool == null) { |
115 |
if(currentlyLoaded != consumer) { |
if(currentlyLoaded != consumer) { |
116 |
currentlyLoaded.loadToBaseLevelSynch(1000); |
if(currentlyLoaded != null) |
117 |
|
currentlyLoaded.loadToBaseLevelSynch(1000); |
118 |
currentlyLoaded = consumer; |
currentlyLoaded = consumer; |
119 |
currentlyLoaded.loadToBaseLevelSynch(0); |
currentlyLoaded.loadToBaseLevelSynch(0); |
120 |
} |
} |