mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-10 06:42:57 +02:00
Forgot to save before committing. Just a comment.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2713 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
@@ -310,6 +310,7 @@ void GSDevice9::SetupOM(OMDepthStencilSelector dssel, OMBlendSelector bsel, uint
|
||||
}
|
||||
}
|
||||
|
||||
// this is not a typo; dx9 uses BGRA rather than the gs native RGBA, unlike dx10
|
||||
if(bsel.wr) bs->RenderTargetWriteMask |= D3DCOLORWRITEENABLE_BLUE;
|
||||
if(bsel.wg) bs->RenderTargetWriteMask |= D3DCOLORWRITEENABLE_GREEN;
|
||||
if(bsel.wb) bs->RenderTargetWriteMask |= D3DCOLORWRITEENABLE_RED;
|
||||
|
||||
Reference in New Issue
Block a user