Moved clear color
This commit is contained in:
@@ -154,6 +154,7 @@ public class Renderer implements ApplicationListener{
|
|||||||
bloom.dispose();
|
bloom.dispose();
|
||||||
}
|
}
|
||||||
bloom = new Bloom(true);
|
bloom = new Bloom(true);
|
||||||
|
bloom.setClearColor(0f, 0f, 0f, 0f);
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
settings.put("bloom", false);
|
settings.put("bloom", false);
|
||||||
@@ -240,7 +241,6 @@ public class Renderer implements ApplicationListener{
|
|||||||
|
|
||||||
Draw.flush();
|
Draw.flush();
|
||||||
if(bloom != null && !pixelator.enabled()){
|
if(bloom != null && !pixelator.enabled()){
|
||||||
bloom.setClearColor(0f, 0f, 0f, 0f);
|
|
||||||
bloom.capture();
|
bloom.capture();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user