summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggDrawPathDOF.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-06-30 23:41:35 +0200
committerGitHub <noreply@github.com>2025-06-30 23:41:35 +0200
commitac1da51c33ef1ffa664b79a2ff90367d6cab0530 (patch)
tree87d514f927c1939023fceb91f838dddd87420c5d /src/egg/gfx/eggDrawPathDOF.cpp
parent2874153333f72035935e0ab1ba60c1b5ae50eec3 (diff)
parenta8e9c4c3452556aada4dcabaf4d62b31a00a11cb (diff)
Merge pull request #209 from robojumper/egg-symbols-maintenance
EGG symbols maintenance
Diffstat (limited to 'src/egg/gfx/eggDrawPathDOF.cpp')
-rw-r--r--src/egg/gfx/eggDrawPathDOF.cpp8
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: {