mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
ad21a894fc
commit
ee467127eb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue