diff --git a/Source/Contents/Effects/EZ2STREffect.cpp b/Source/Contents/Effects/EZ2STREffect.cpp index bd3555344..17e7dcbbd 100644 --- a/Source/Contents/Effects/EZ2STREffect.cpp +++ b/Source/Contents/Effects/EZ2STREffect.cpp @@ -5279,10 +5279,7 @@ void CEZ2STRScreenEffect::Slot04() { this->overlayColor = 0xAA000000u; } - DrawBlendedRectangle( - g_renderer->primitives, g_renderer->queues, 0, 0, g_renderer->viewport.width, g_renderer->viewport.height, this->overlayColor, - g_renderer->fog.supported != 0, g_depthStart, g_depthEnd - ); + DrawBlendedRectangle(0, 0, g_renderer->viewport.width, g_renderer->viewport.height, this->overlayColor); draw: particle->DrawScreen(static_cast(g_modeMgr.GetGameMode())->camera->frame.view); diff --git a/Source/Render/ScreenRectangle.h b/Source/Render/ScreenRectangle.h index 2798f6719..02247ba8a 100644 --- a/Source/Render/ScreenRectangle.h +++ b/Source/Render/ScreenRectangle.h @@ -8,10 +8,7 @@ class RenderPrimitivePool; class TextureCache; struct RenderQueues; -void DrawBlendedRectangle( - RenderPrimitivePool& primitives, RenderQueues& queues, int x, int y, int width, int height, std::uint32_t color, bool depthAlpha, - float depthStart, float depthEnd -); +void DrawBlendedRectangle(int x, int y, int width, int height, std::uint32_t color); void DrawTexturedRectangle(int x, int y, int width, int height, std::uint32_t color, CTexture* texture); void DrawTextureRegion( RenderPrimitivePool& primitives, RenderQueues& queues, float x, float y, float width, float height, std::uint32_t color,