mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-06 08:57:45 +07:00
Possible fix for "unsupported combination of formats" error
This commit is contained in:
parent
ee966d1198
commit
430538ea7e
@ -35,11 +35,18 @@ public class LoadRenderer implements Disposable{
|
||||
private Mesh mesh = MeshBuilder.buildHex(colorRed, 2, true, 1f);
|
||||
private Camera3D cam = new Camera3D();
|
||||
private int lastLength = -1;
|
||||
private FxProcessor fx = new FxProcessor(Format.rgba8888, 2, 2, false, true);
|
||||
private FxProcessor fx;
|
||||
private WindowedMean renderTimes = new WindowedMean(20);
|
||||
private long lastFrameTime;
|
||||
|
||||
{
|
||||
//some systems don't support rgba8888 w/ a stencil buffer
|
||||
try{
|
||||
fx = new FxProcessor(Format.rgba8888, 2, 2, false, true);
|
||||
}catch(Exception e){
|
||||
fx = new FxProcessor(Format.rgb565, 2, 2, false, true);
|
||||
}
|
||||
|
||||
//vignetting is probably too much
|
||||
//fx.addEffect(new VignettingFilter(false));
|
||||
fx.addEffect(new BloomFilter());
|
||||
|
5
fastlane/metadata/android/en-US/changelogs/29741.txt
Normal file
5
fastlane/metadata/android/en-US/changelogs/29741.txt
Normal file
@ -0,0 +1,5 @@
|
||||
[This is a truncated changelog, see Github for full notes]
|
||||
- Fixed two rare crashes
|
||||
- Made units depend on their production materials in tech tree
|
||||
- Made conveyors replaceable by distributors
|
||||
- Translation updates
|
Loading…
Reference in New Issue
Block a user