mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-24 17:55:42 +00:00
implemented librw alphatest setting
This commit is contained in:
parent
5c474b9c68
commit
bdf9fa2f01
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ DefinedState(void)
|
|||
RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
|
||||
|
||||
#ifdef LIBRW
|
||||
#pragma message (" TODO: alphatest func")
|
||||
rw::SetRenderState(rw::ALPHATESTFUNC, rw::ALPHAGREATEREQUAL);
|
||||
rw::SetRenderState(rw::ALPHATESTREF, 3);
|
||||
#else
|
||||
// D3D stuff
|
||||
RwD3D8SetRenderState(D3DRS_ALPHAFUNC, D3DCMP_GREATER);
|
||||
|
|
Loading…
Reference in a new issue