mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
possible bug in one pass alpha render
This commit is contained in:
parent
8baf3a6321
commit
99f14e4c60
1 changed files with 2 additions and 6 deletions
|
@ -272,15 +272,11 @@ RpAtomic* OnePassAlphaRender(RpAtomic* atomic)
|
|||
BOOL nAlphaBlending;
|
||||
|
||||
RwRenderStateGet(rwRENDERSTATEVERTEXALPHAENABLE, &nAlphaBlending);
|
||||
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, reinterpret_cast<void*>(TRUE));
|
||||
|
||||
// RW caches those anyway, no need to duplicate caching
|
||||
//if ( nAlphaBlending != TRUE )
|
||||
// RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, reinterpret_cast<void*>(TRUE));
|
||||
atomic = AtomicDefaultRenderCallBack(atomic);
|
||||
|
||||
//if ( nAlphaBlending != TRUE )
|
||||
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, reinterpret_cast<void*>(nAlphaBlending));
|
||||
|
||||
return atomic;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue