mirror of
https://github.com/zeldaret/ss
synced 2026-07-31 08:05:47 -04:00
More
This commit is contained in:
@@ -35,9 +35,8 @@ void CapTexture::capture(u16 x, u16 y, bool upscale, int format) {
|
||||
0, copyArg2, (mCapFlags & 8) ? true : false, (mCapFlags & 8) ? mCopyFilterArg.values : defaultFilter.values
|
||||
);
|
||||
|
||||
// Regswap, grr
|
||||
GXBool prevColorUpdate = StateGX::GXSetColorUpdate_((mCapFlags & 1) != 0);
|
||||
GXBool prevAlphaUpdate = StateGX::GXSetAlphaUpdate_((mCapFlags & 2) != 0);
|
||||
StateGX::ScopedColor colorUpdate((mCapFlags & 1) != 0);
|
||||
StateGX::ScopedAlpha alphaUpdate((mCapFlags & 2) != 0);
|
||||
GXSetZMode(true, GX_ALWAYS, (mCapFlags & 4) != 0);
|
||||
GXSetCopyClear(mClearColor, field_0x20);
|
||||
GXSetCopyClamp(3);
|
||||
@@ -51,9 +50,6 @@ void CapTexture::capture(u16 x, u16 y, bool upscale, int format) {
|
||||
if ((mCapFlags & 0x20) != 0) {
|
||||
StateGX::invalidateTexAllGX();
|
||||
}
|
||||
|
||||
StateGX::GXSetAlphaUpdate_(prevAlphaUpdate);
|
||||
StateGX::GXSetColorUpdate_(prevColorUpdate);
|
||||
}
|
||||
|
||||
} // namespace EGG
|
||||
|
||||
@@ -1,3 +1,19 @@
|
||||
#include "egg/gfx/eggDrawPathDOF.h"
|
||||
|
||||
namespace EGG {} // namespace EGG
|
||||
namespace EGG {
|
||||
|
||||
DrawPathDOF::DrawPathDOF() {}
|
||||
|
||||
DrawPathDOF::~DrawPathDOF() {}
|
||||
|
||||
void DrawPathDOF::internalDraw() {}
|
||||
|
||||
void DrawPathDOF::internalResetForDraw() {}
|
||||
|
||||
void DrawPathDOF::SetBinaryInner(const Bin &bin) {}
|
||||
|
||||
void DrawPathDOF::GetBinaryInner(Bin *pBin) const {}
|
||||
|
||||
void DrawPathDOF::SetBinaryInner(const Bin &, const Bin &, f32) {}
|
||||
|
||||
} // namespace EGG
|
||||
|
||||
Reference in New Issue
Block a user