remove sunken sea burrows double draw?
This commit is contained in:
1 parent
96fbb743bf
commit
c766a6f3d7
2 files changed
+4
-3
No files matched your search
@@ -21,8 +21,7 @@ namespace CalamityMod.Backgrounds
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
On_Main.CheckMonoliths += DrawToTarget;
|
||||
|
||||
On_Main.DrawBackgroundBlackFill += On_Main_DrawBackgroundBlackFill;
|
||||
|
||||
Main.QueueMainThreadAction(() => WaterDistortionTarget = new(true, ManagedRenderTarget.CreateScreenSizedTarget));
|
||||
@@ -149,6 +148,8 @@ namespace CalamityMod.Backgrounds
|
||||
CurrentlyRendering = false;
|
||||
|
||||
orig();
|
||||
|
||||
Main.spriteBatch.Begin(); // TODO: [SPRITEBATCH DEBUG] Dummy replacement
|
||||
}
|
||||
|
||||
private void On_Main_DrawBackgroundBlackFill(On_Main.orig_DrawBackgroundBlackFill orig, Main self)
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace CalamityMod.Systems.Graphic.LiquidSystem
|
||||
Begin();
|
||||
DrawTextures(WaterfallTextures);
|
||||
End();
|
||||
|
||||
|
||||
graphicsDevice.SetRenderTarget(null);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user