From a8e9c4c3452556aada4dcabaf4d62b31a00a11cb Mon Sep 17 00:00:00 2001 From: robojumper Date: Mon, 30 Jun 2025 22:35:29 +0200 Subject: EGG symbols maintenance --- src/egg/gfx/eggDrawPathDOF.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/egg/gfx/eggDrawPathDOF.cpp') diff --git a/src/egg/gfx/eggDrawPathDOF.cpp b/src/egg/gfx/eggDrawPathDOF.cpp index e649fab5..5b977e99 100644 --- a/src/egg/gfx/eggDrawPathDOF.cpp +++ b/src/egg/gfx/eggDrawPathDOF.cpp @@ -130,7 +130,7 @@ void DrawPathDOF::internalDraw(u16 idx) { switch (idx) { case 1: - StateEfb::fn_804B4310(StateEfb::BUFFER_0, reinterpret_cast(this)); + StateEfb::popWorkBuffer(StateEfb::BUFFER_0, reinterpret_cast(this)); StateEfb::releaseEfb(StateEfb::BUFFER_3, reinterpret_cast(this)); break; case 2: @@ -149,7 +149,7 @@ void DrawPathDOF::internalDrawLite(u16 idx) { switch (idx) { case 0: { TextureBuffer *capturedBuf = StateEfb::captureEfb(StateEfb::BUFFER_3, false, reinterpret_cast(this)); - StateGX::GXSetPixelFmt_(GX_PF_RGB8_Z24, GX_ZC_LINEAR); + StateGX::setPixelFormatGX(GX_PF_RGB8_Z24, GX_ZC_LINEAR); StateGX::ScopedColor colorGuard(true); StateGX::ScopedAlpha alphaGuard(false); StateGX::ScopedDither ditherGuard(false); @@ -184,8 +184,8 @@ void DrawPathDOF::internalDrawLite(u16 idx) { if (pTex2 != nullptr) { pTex2->free(); } - afterDraw(floats[0], floats[1], width, height); - StateGX::GXSetPixelFmt_(StateGX::s_pixFormat, StateGX::s_zFmt16); + allocAndCaptureBlurBuffer(floats[0], floats[1], width, height); + StateGX::setPixelFormatGX(StateGX::s_pixFormat, StateGX::s_zFmt16); break; } case 2: { -- cgit v1.2.3