diff options
| author | rodolfoosvaldobogado <rodolfoosvaldobogado@gmail.com> | 2012-04-02 14:26:12 -0300 |
|---|---|---|
| committer | rodolfoosvaldobogado <rodolfoosvaldobogado@gmail.com> | 2012-04-02 14:26:12 -0300 |
| commit | a0d60210fd80c44b17f82ed1ed2f68e96394bc86 (patch) | |
| tree | 1cbfcbd6494cf0850f02f6093f162dbad8461ea4 /Source/Core/VideoCommon | |
| parent | f7ce27c91d5326479c417f6eb154a2b4ad9b52d8 (diff) | |
First Stage:
Fix depth related errors in dstalpha pass.
best place to test: water splash effect in super mario galaxy
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/RenderBase.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/RenderBase.h b/Source/Core/VideoCommon/Src/RenderBase.h index e8d4c55a20..31ce6ce820 100644 --- a/Source/Core/VideoCommon/Src/RenderBase.h +++ b/Source/Core/VideoCommon/Src/RenderBase.h @@ -43,6 +43,11 @@ extern int OSDChoice, OSDTime; extern bool bLastFrameDumped; +#define RSM_None 0 +#define RSM_Multipass 1 +#define RSM_Zcomploc 2 +#define RSM_UseDstAlpha 4 + // Renderer really isn't a very good name for this class - it's more like "Misc". // The long term goal is to get rid of this class and replace it with others that make // more sense. @@ -63,7 +68,7 @@ public: virtual void SetSamplerState(int stage,int texindex) = 0; virtual void SetInterlacingMode() = 0; - virtual void ApplyState(bool bUseDstAlpha) = 0; + virtual void ApplyState(u32 mode) = 0; virtual void RestoreState() = 0; // Ideal internal resolution - determined by display resolution (automatic scaling) and/or a multiple of the native EFB resolution |
