diff options
| author | robojumper <robojumper@gmail.com> | 2025-06-30 22:35:29 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-06-30 22:58:59 +0200 |
| commit | a8e9c4c3452556aada4dcabaf4d62b31a00a11cb (patch) | |
| tree | 5a92852ad6b44009032aabe3e34d2b75897aa41e /src/egg/gfx/eggDrawPathDOF.cpp | |
| parent | 810f61fe94a44ede6ed18027eb6bdda429d7d91a (diff) | |
EGG symbols maintenance
Diffstat (limited to 'src/egg/gfx/eggDrawPathDOF.cpp')
| -rw-r--r-- | src/egg/gfx/eggDrawPathDOF.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<u32>(this)); + StateEfb::popWorkBuffer(StateEfb::BUFFER_0, reinterpret_cast<u32>(this)); StateEfb::releaseEfb(StateEfb::BUFFER_3, reinterpret_cast<u32>(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<u32>(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: { |
